diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-07-21 00:34:46 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-07-21 00:34:46 +0000 |
commit | c10f069b6b9f0dd4bb313341d1969bd7e1cf9338 (patch) | |
tree | 95934f5bc632a391dfa149783226b1543b24ff41 /test/commainitializer.cpp | |
parent | ce425d92f1c1d199c8428c46b4c4ea3be81b137b (diff) |
* Merge Extract and Part to the Part expression.
Renamed "MatrixBase::extract() const" to "MatrixBase::part() const"
* Renamed static functions identity, zero, ones, random with an upper case
first letter: Identity, Zero, Ones and Random.
Diffstat (limited to 'test/commainitializer.cpp')
-rw-r--r-- | test/commainitializer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/commainitializer.cpp b/test/commainitializer.cpp index acd1fb630..fa3e3e348 100644 --- a/test/commainitializer.cpp +++ b/test/commainitializer.cpp @@ -35,7 +35,7 @@ void test_commainitializer() double data[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; - m3 = Matrix3d::random(); + m3 = Matrix3d::Random(); m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9; VERIFY_IS_APPROX(m3, (Matrix<double,3,3,RowMajorBit>::map(data)) ); @@ -43,14 +43,14 @@ void test_commainitializer() vec[0] << 1, 4, 7; vec[1] << 2, 5, 8; vec[2] << 3, 6, 9; - m3 = Matrix3d::random(); + m3 = Matrix3d::Random(); m3 << vec[0], vec[1], vec[2]; VERIFY_IS_APPROX(m3, (Matrix<double,3,3,RowMajorBit>::map(data)) ); vec[0] << 1, 2, 3; vec[1] << 4, 5, 6; vec[2] << 7, 8, 9; - m3 = Matrix3d::random(); + m3 = Matrix3d::Random(); m3 << vec[0].transpose(), 4, 5, 6, vec[2].transpose(); |