aboutsummaryrefslogtreecommitdiffhomepage
path: root/tvmet-1.7.1/examples/hspiess.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tvmet-1.7.1/examples/hspiess.cc')
-rw-r--r--tvmet-1.7.1/examples/hspiess.cc37
1 files changed, 0 insertions, 37 deletions
diff --git a/tvmet-1.7.1/examples/hspiess.cc b/tvmet-1.7.1/examples/hspiess.cc
deleted file mode 100644
index 129c4f0c0..000000000
--- a/tvmet-1.7.1/examples/hspiess.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-#include <iostream>
-
-#include <tvmet/Matrix.h>
-
-using namespace std;
-
-int main()
-{
- tvmet::Matrix<double,3,2> B;
- tvmet::Matrix<double,3,3> D;
-
- B =
- -0.05, 0,
- 0, 0.05,
- 0.05, -0.05;
- D =
- 2000, 1000, 0,
- 1000, 2000, 0,
- 0, 0, 500;
-
- cout << "B = " << B << endl;
- cout << "D = " << D << endl;
-
- {
- tvmet::Matrix<double,2,2> K;
-
- K = trans(B) * D * B;
- cout << "K = " << K << endl;
- }
-
- {
- tvmet::Matrix<double,2,2> K;
-
- K = tvmet::Matrix<double,2,3>(trans(B) * D) * B;
- cout << "K = " << K << endl;
- }
-}