mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add code snippets for new methods
This commit is contained in:
3
doc/snippets/Cwise_round.cpp
Normal file
3
doc/snippets/Cwise_round.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
ArrayXd v = ArrayXd::LinSpaced(7,-2,2);
|
||||
cout << v << endl << endl;
|
||||
cout << round(v) << endl;
|
||||
Reference in New Issue
Block a user