Home
last modified time | relevance | path

Searched refs:imagUnit (Results 1 – 2 of 2) sorted by relevance

/external/eigen/unsupported/test/
Dmatrix_function.cpp85 const Scalar imagUnit(0, 1); in run() local
88 diag(i, i) = Scalar(RealScalar(internal::random<Index>(-1, 1))) * imagUnit in run()
145 ComplexScalar imagUnit(0,1); in testGonioFunctions() local
150 ComplexMatrix exp_iA = (imagUnit * Ac).exp(); in testGonioFunctions()
151 ComplexMatrix exp_miA = (-imagUnit * Ac).exp(); in testGonioFunctions()
154 VERIFY_IS_APPROX_ABS(sinAc, (exp_iA - exp_miA) / (two*imagUnit)); in testGonioFunctions()
Dmatrix_exponential.cpp52 std::complex<T> imagUnit(0,1); in test2dHyperbolicRotation() local
60 A << 0, angle*imagUnit, -angle*imagUnit, 0; in test2dHyperbolicRotation()
61 B << ch, sh*imagUnit, -sh*imagUnit, ch; in test2dHyperbolicRotation()