Unified LinSpaced in order to be conform with other setter methods as e.g. Constant.

This commit is contained in:
Hauke Heibel
2010-07-22 14:04:00 +02:00
parent 8e21cef80a
commit 734469e43f
7 changed files with 51 additions and 20 deletions

View File

@@ -1,3 +1,3 @@
VectorXf v;
v.setLinSpaced(0.5f,1.5f,5).transpose();
v.setLinSpaced(5,0.5f,1.5f).transpose();
cout << v << endl;