00001 #include <TooN/TooN.h>
00002 using namespace TooN;
00003 using namespace std;
00004
00005 int main()
00006 {
00007 Vector<3> v = makeVector(1, 2, 3);
00008
00009 cout << v.as_row() << endl;
00010 cout << v.as_col() << endl;
00011 cout << v.as_slice() << endl;
00012
00013 Vector<> u = makeVector(1, 2, 3);
00014
00015 cout << u.as_row() << endl;
00016 cout << u.as_col() << endl;
00017
00018 cout << v.as_slice() << endl;
00019
00020 }