Files
eigen/doc/snippets/Cwise_trunc.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
95 B
C++
Raw Permalink Normal View History

2024-04-29 23:45:49 +00:00
ArrayXd v = ArrayXd::LinSpaced(7, -2, 2);
cout << v << endl << endl;
cout << trunc(v) << endl;