*add missing overloads of setZero, etc... that were mentioned in the tutorial

--->they go into Matrix as they resize.
*add isConstant() alias to isApproxToConstant()
*extend unit-test
*change an assert into a static assert
This commit is contained in:
Benoit Jacob
2009-05-06 21:40:24 +00:00
parent 0c0d38272e
commit 4f0af00e51
6 changed files with 207 additions and 4 deletions

View File

@@ -167,7 +167,7 @@ x = VectorXf::Random(size);
x.setZero(size);
x.setOnes(size);
x.setConstant(size, value);
x.setIdentity(size);
N/A
x.setRandom(size);
\endcode
</td>