mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -1,4 +1,4 @@
|
||||
Vector3d v(-1,2,-3);
|
||||
Vector3d v(-1, 2, -3);
|
||||
cout << "the absolute values:" << endl << v.array().abs() << endl;
|
||||
cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl;
|
||||
cout << "the absolute values plus one:" << endl << v.array().abs() + 1 << endl;
|
||||
cout << "sum of the squares: " << v.array().square().sum() << endl;
|
||||
|
||||
Reference in New Issue
Block a user