mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
*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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user