Build deprecated snippets with -DEIGEN_NO_DEPRECATED_WARNING

Also, document LinSpaced only where it is implemented
This commit is contained in:
Christoph Hertzberg
2019-07-12 19:43:32 +02:00
parent 3cd148f983
commit c2671e5315
4 changed files with 10 additions and 9 deletions

View File

@@ -0,0 +1,2 @@
cout << VectorXi::LinSpaced(Sequential,4,7,10).transpose() << endl;
cout << VectorXd::LinSpaced(Sequential,5,0.0,1.0).transpose() << endl;