diff options
Diffstat (limited to 'tvmet-1.7.1/examples/xpr_print_mv1.cc')
-rw-r--r-- | tvmet-1.7.1/examples/xpr_print_mv1.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tvmet-1.7.1/examples/xpr_print_mv1.cc b/tvmet-1.7.1/examples/xpr_print_mv1.cc deleted file mode 100644 index c48629586..000000000 --- a/tvmet-1.7.1/examples/xpr_print_mv1.cc +++ /dev/null @@ -1,26 +0,0 @@ -#include <iostream> -#include <tvmet/Vector.h> -#include <tvmet/Matrix.h> - -using namespace std; -using namespace tvmet; - -int main() { - // Matrix Vector stuff I - Vector<double,3> v1(1,2,3), v2(v1); - Vector<double,3> v3(0); - - Matrix<double,3,3> m1, m2, m3; - m1 = 1,2,3, - 4,5,6, - 7,8,9; - m2 = trans(m1); - - cout << "Xpr Level printing of " - << m1 << "\n* " << v1 <<"\nresults into:\n"; - cout << m1*v1 << endl; - cout << "The result =\n"; - v3 = m1*v1; - cout << v3 << endl << endl; - -} |