Go to the documentation of this file.00001 Vector3d v(-1,2,-3);
00002 cout << "the absolute values:" << endl << v.array().abs() << endl;
00003 cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl;
00004 cout << "sum of the squares: " << v.array().square().sum() << endl;