Lines Matching refs:ComplexScalar
103 typedef std::complex<RealScalar> ComplexScalar;
105 VERIFY_IS_APPROX(A.exp(), A.matrixFunction(StdStemFunctions<ComplexScalar>::exp));
113 typedef std::complex<RealScalar> ComplexScalar;
142 typedef std::complex<RealScalar> ComplexScalar;
143 typedef Matrix<ComplexScalar, MatrixType::RowsAtCompileTime,
146 ComplexScalar imagUnit(0,1);
147 ComplexScalar two(2,0);
149 ComplexMatrix Ac = A.template cast<ComplexScalar>();
154 ComplexMatrix sinAc = A.sin().template cast<ComplexScalar>();
157 ComplexMatrix cosAc = A.cos().template cast<ComplexScalar>();