Home
last modified time | relevance | path

Searched refs:ComplexScalar (Results 1 – 15 of 15) sorted by relevance

/external/eigen/Eigen/src/Eigenvalues/
DComplexSchur.h74 typedef std::complex<RealScalar> ComplexScalar; typedef
81 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,…
255 ComplexScalar computeShift(Index iu, Index iter);
270 m_matT.coeffRef(i+1,i) = ComplexScalar(0);
279 typename ComplexSchur<MatrixType>::ComplexScalar ComplexSchur<MatrixType>::computeShift(Index iu, I…
290 Matrix<ComplexScalar,2,2> t = m_matT.template block<2,2>(iu-1,iu-1);
294 ComplexScalar b = t.coeff(0,1) * t.coeff(1,0);
295 ComplexScalar c = t.coeff(0,0) - t.coeff(1,1);
296 ComplexScalar disc = sqrt(c*c + RealScalar(4)*b);
297 ComplexScalar det = t.coeff(0,0) * t.coeff(1,1) - b;
[all …]
DGeneralizedEigenSolver.h83 typedef std::complex<RealScalar> ComplexScalar; typedef
97 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> …
101 …typedef CwiseBinaryOp<internal::scalar_quotient_op<ComplexScalar,Scalar>,ComplexVectorType,VectorT…
108 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,…
323 m_alphas.coeffRef(i) = ComplexScalar(m_matS.coeff(i+1, i+1) + p, z); in compute()
324 m_alphas.coeffRef(i+1) = ComplexScalar(m_matS.coeff(i+1, i+1) + p, -z); in compute()
DComplexEigenSolver.h71 typedef std::complex<RealScalar> ComplexScalar; typedef
78 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options&(~RowMajor), MaxColsAtCompileTime, 1> …
85 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,…
285 m_matX.coeffRef(k,k) = ComplexScalar(1.0,0.0); in doComputeEigenvectors()
292 ComplexScalar z = m_schur.matrixT().coeff(i,i) - m_schur.matrixT().coeff(k,k); in doComputeEigenvectors()
293 if(z==ComplexScalar(0)) in doComputeEigenvectors()
DEigenSolver.h90 typedef std::complex<RealScalar> ComplexScalar; typedef
97 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> …
104 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,…
344 matV.col(j) = m_eivec.col(j).template cast<ComplexScalar>(); in eigenvectors()
352 matV.coeffRef(i,j) = ComplexScalar(m_eivec.coeff(i,j), m_eivec.coeff(i,j+1)); in eigenvectors()
353 matV.coeffRef(i,j+1) = ComplexScalar(m_eivec.coeff(i,j), -m_eivec.coeff(i,j+1)); in eigenvectors()
394 m_eivalues.coeffRef(i) = ComplexScalar(m_matT.coeff(i+1, i+1) + p, z); in compute()
395 m_eivalues.coeffRef(i+1) = ComplexScalar(m_matT.coeff(i+1, i+1) + p, -z); in compute()
DComplexSchur_MKL.h50 typedef std::complex<RealScalar> ComplexScalar; \
57 m_matT = matrix.cast<ComplexScalar>(); \
DRealSchur.h66 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; typedef
69 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> …
DRealQZ.h69 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; typedef
72 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> …
/external/eigen/unsupported/test/
Dmatrix_function.cpp103 typedef std::complex<RealScalar> ComplexScalar; in testMatrixExponential() typedef
105 VERIFY_IS_APPROX(A.exp(), A.matrixFunction(StdStemFunctions<ComplexScalar>::exp)); in testMatrixExponential()
141 typedef std::complex<RealScalar> ComplexScalar; in testGonioFunctions() typedef
142 typedef Matrix<ComplexScalar, MatrixType::RowsAtCompileTime, in testGonioFunctions()
145 ComplexScalar imagUnit(0,1); in testGonioFunctions()
146 ComplexScalar two(2,0); in testGonioFunctions()
148 ComplexMatrix Ac = A.template cast<ComplexScalar>(); in testGonioFunctions()
153 ComplexMatrix sinAc = A.sin().template cast<ComplexScalar>(); in testGonioFunctions()
156 ComplexMatrix cosAc = A.cos().template cast<ComplexScalar>(); in testGonioFunctions()
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h80 typedef std::complex<Scalar> ComplexScalar; typedef
81 typedef Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols> ComplexMatrix;
104 ComplexMatrix CA = m_A.template cast<ComplexScalar>(); in compute()
518 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; in evalTo() typedef
519 …typedef Matrix<ComplexScalar, Dynamic, Dynamic, Options, RowsAtCompileTime, ColsAtCompileTime> Dyn… in evalTo()
561 typedef typename internal::stem_function<Scalar>::ComplexScalar ComplexScalar;
562 return MatrixFunctionReturnValue<Derived>(derived(), StdStemFunctions<ComplexScalar>::sin);
569 typedef typename internal::stem_function<Scalar>::ComplexScalar ComplexScalar;
570 return MatrixFunctionReturnValue<Derived>(derived(), StdStemFunctions<ComplexScalar>::cos);
577 typedef typename internal::stem_function<Scalar>::ComplexScalar ComplexScalar;
[all …]
DMatrixPower.h50 typedef std::complex<RealScalar> ComplexScalar; typedef
63 static ComplexScalar computeSuperDiag(const ComplexScalar&, const ComplexScalar&, RealScalar p);
236 inline typename MatrixPowerAtomic<MatrixType>::ComplexScalar
237 MatrixPowerAtomic<MatrixType>::computeSuperDiag(const ComplexScalar& curr, const ComplexScalar& pre… in computeSuperDiag()
239 ComplexScalar logCurr = std::log(curr); in computeSuperDiag()
240 ComplexScalar logPrev = std::log(prev); in computeSuperDiag()
242ComplexScalar w = numext::atanh2(curr - prev, curr + prev) + ComplexScalar(0, M_PI*unwindingNumber… in computeSuperDiag()
323 typedef std::complex<RealScalar> ComplexScalar; typedef
324 typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, MatrixType::Options,
342 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res,
[all …]
DMatrixExponential.h135 typedef typename std::complex<RealScalar> ComplexScalar; typedef
182 result = m_M.matrixFunction(StdStemFunctions<ComplexScalar>::exp); in compute()
DMatrixLogarithm.h446 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; in evalTo() typedef
447 …typedef Matrix<ComplexScalar, Dynamic, Dynamic, Options, RowsAtCompileTime, ColsAtCompileTime> Dyn… in evalTo()
/external/eigen/test/
Dschur_complex.cpp16 typedef typename ComplexSchur<MatrixType>::ComplexScalar ComplexScalar; in schur() typedef
31 VERIFY_IS_APPROX(A.template cast<ComplexScalar>(), U * T * U.adjoint()); in schur()
64 VERIFY_IS_EQUAL(cs3.matrixT(), Atriangular.template cast<ComplexScalar>()); in schur()
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h280 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
281 typedef ComplexScalar type(ComplexScalar, int);
/external/eigen/unsupported/Eigen/
DMatrixFunctions302 ComplexScalar f(ComplexScalar, int)
304 where \c ComplexScalar = \c std::complex<Scalar> if \c Scalar is
305 real (e.g., \c float or \c double) and \c ComplexScalar =