* add a writable generic coeff wise expression (CwiseUnaryView)

* add writable .real() and .imag() functions
This commit is contained in:
Gael Guennebaud
2009-05-20 15:41:23 +02:00
parent 6ecd02d7ec
commit dd45c4805c
9 changed files with 204 additions and 6 deletions

View File

@@ -43,4 +43,7 @@ void test_sizeof()
CALL_SUBTEST( verifySizeOf(MatrixXi(8, 12)) );
CALL_SUBTEST( verifySizeOf(MatrixXcd(20, 20)) );
CALL_SUBTEST( verifySizeOf(Matrix<float, 100, 100>()) );
VERIFY(sizeof(std::complex<float>) == 2*sizeof(float));
VERIFY(sizeof(std::complex<double>) == 2*sizeof(double));
}