Lines Matching refs:RealScalar
20 return ((a-b).array().abs() < test_precision<typename Type1::RealScalar>()).all(); in test_isApprox_abs()
30 typedef typename MatrixType::RealScalar RealScalar; in randomMatrixWithRealEivals() typedef
33 diag(i, i) = Scalar(RealScalar(internal::random<int>(0,2))) in randomMatrixWithRealEivals()
34 + internal::random<Scalar>() * Scalar(RealScalar(0.01)); in randomMatrixWithRealEivals()
84 typedef typename MatrixType::RealScalar RealScalar; in run() typedef
88 diag(i, i) = Scalar(RealScalar(internal::random<Index>(-1, 1))) * imagUnit in run()
89 + internal::random<Scalar>() * Scalar(RealScalar(0.01)); in run()
102 typedef typename NumTraits<Scalar>::Real RealScalar; in testMatrixExponential() typedef
103 typedef std::complex<RealScalar> ComplexScalar; in testMatrixExponential()
112 typedef typename NumTraits<Scalar>::Real RealScalar; in testMatrixLogarithm() typedef
115 RealScalar maxImagPartOfSpectrum = A.eigenvalues().imag().cwiseAbs().maxCoeff(); in testMatrixLogarithm()
116 if (maxImagPartOfSpectrum >= RealScalar(0.9L * EIGEN_PI)) in testMatrixLogarithm()
117 scaledA = A * RealScalar(0.9L * EIGEN_PI) / maxImagPartOfSpectrum; in testMatrixLogarithm()
140 typedef typename NumTraits<Scalar>::Real RealScalar; in testGonioFunctions() typedef
141 typedef std::complex<RealScalar> ComplexScalar; in testGonioFunctions()