/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorFFT.h | 65 typedef typename std::complex<RealScalar> ComplexScalar; 67 …l<FFTResultType == RealPart || FFTResultType == ImagPart, RealScalar, ComplexScalar>::type OutputS… 93 typedef typename std::complex<RealScalar> ComplexScalar; 94 …l<FFTResultType == RealPart || FFTResultType == ImagPart, RealScalar, ComplexScalar>::type OutputS… 125 typedef typename std::complex<RealScalar> ComplexScalar; 129 …l<FFTResultType == RealPart || FFTResultType == ImagPart, RealScalar, ComplexScalar>::type OutputS… 208 const bool write_to_out = internal::is_same<OutputScalar, ComplexScalar>::value; 209 …ComplexScalar* buf = write_to_out ? (ComplexScalar*)data : (ComplexScalar*)m_device.allocate(sizeo… 220 ComplexScalar* line_buf = (ComplexScalar*)m_device.allocate(sizeof(ComplexScalar) * line_len); 225 …ComplexScalar* a = is_power_of_two ? NULL : (ComplexScalar*)m_device.allocate(sizeof(ComplexScalar… [all …]
|
/external/eigen/Eigen/src/Eigenvalues/ |
D | ComplexSchur.h | 74 typedef std::complex<RealScalar> ComplexScalar; typedef 81 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,… 257 ComplexScalar computeShift(Index iu, Index iter); 272 m_matT.coeffRef(i+1,i) = ComplexScalar(0); 281 typename ComplexSchur<MatrixType>::ComplexScalar ComplexSchur<MatrixType>::computeShift(Index iu, I… 292 Matrix<ComplexScalar,2,2> t = m_matT.template block<2,2>(iu-1,iu-1); 296 ComplexScalar b = t.coeff(0,1) * t.coeff(1,0); 297 ComplexScalar c = t.coeff(0,0) - t.coeff(1,1); 298 ComplexScalar disc = sqrt(c*c + RealScalar(4)*b); 299 ComplexScalar det = t.coeff(0,0) * t.coeff(1,1) - b; [all …]
|
D | EigenSolver.h | 90 typedef std::complex<RealScalar> ComplexScalar; typedef 97 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> … 104 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,… 357 matV.col(j) = m_eivec.col(j).template cast<ComplexScalar>(); in eigenvectors() 365 matV.coeffRef(i,j) = ComplexScalar(m_eivec.coeff(i,j), m_eivec.coeff(i,j+1)); in eigenvectors() 366 matV.coeffRef(i,j+1) = ComplexScalar(m_eivec.coeff(i,j), -m_eivec.coeff(i,j+1)); in eigenvectors() 432 m_eivalues.coeffRef(i) = ComplexScalar(m_matT.coeff(i+1, i+1) + p, z); in compute() 433 m_eivalues.coeffRef(i+1) = ComplexScalar(m_matT.coeff(i+1, i+1) + p, -z); in compute() 542 …ComplexScalar cc = ComplexScalar(Scalar(0),-m_matT.coeff(n-1,n)) / ComplexScalar(m_matT.coeff(n-1,… in doComputeEigenvectors() 565 ComplexScalar cc = ComplexScalar(-ra,-sa) / ComplexScalar(w,q); in doComputeEigenvectors() [all …]
|
D | ComplexEigenSolver.h | 71 typedef std::complex<RealScalar> ComplexScalar; typedef 78 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options&(~RowMajor), MaxColsAtCompileTime, 1> … 85 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,… 298 m_matX.coeffRef(k,k) = ComplexScalar(1.0,0.0); in doComputeEigenvectors() 305 ComplexScalar z = m_schur.matrixT().coeff(i,i) - m_schur.matrixT().coeff(k,k); in doComputeEigenvectors() 306 if(z==ComplexScalar(0)) in doComputeEigenvectors()
|
D | GeneralizedEigenSolver.h | 84 typedef std::complex<RealScalar> ComplexScalar; typedef 98 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> … 102 …typedef CwiseBinaryOp<internal::scalar_quotient_op<ComplexScalar,Scalar>,ComplexVectorType,VectorT… 109 …typedef Matrix<ComplexScalar, RowsAtCompileTime, ColsAtCompileTime, Options, MaxRowsAtCompileTime,… 376 const ComplexScalar alpha = ComplexScalar(S2.coeff(1,1) + p, (beta > 0) ? z : -z); in compute() 394 …Matrix<ComplexScalar, 2, 1> rhs = (alpha*mT.template block<2,Dynamic>(j-1,st,2,sz) - beta*mS.templ… in compute() 395 …Matrix<ComplexScalar, 2, 2> lhs = beta * mS.template block<2,2>(j-1,j-1) - alpha * mT.template blo… in compute()
|
D | ComplexSchur_LAPACKE.h | 47 typedef std::complex<RealScalar> ComplexScalar; \ 54 m_matT = matrix.derived().template cast<ComplexScalar>(); \
|
D | RealSchur.h | 66 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; typedef 69 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> …
|
D | RealQZ.h | 69 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; typedef 72 …typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> …
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixPower.h | 96 typedef std::complex<RealScalar> ComplexScalar; typedef 109 static ComplexScalar computeSuperDiag(const ComplexScalar&, const ComplexScalar&, RealScalar p); 291 inline typename MatrixPowerAtomic<MatrixType>::ComplexScalar 292 MatrixPowerAtomic<MatrixType>::computeSuperDiag(const ComplexScalar& curr, const ComplexScalar& pre… in computeSuperDiag() 299 ComplexScalar logCurr = log(curr); in computeSuperDiag() 300 ComplexScalar logPrev = log(prev); in computeSuperDiag() 302 …ComplexScalar w = numext::log1p((curr-prev)/prev)/RealScalar(2) + ComplexScalar(0, EIGEN_PI*unwind… in computeSuperDiag() 385 typedef std::complex<RealScalar> ComplexScalar; typedef 386 typedef Matrix<ComplexScalar, Dynamic, Dynamic, 0, 437 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, [all …]
|
D | MatrixFunction.h | 409 typedef std::complex<Scalar> ComplexScalar; 410 typedef Matrix<ComplexScalar, Rows, Cols, 0, MaxRows, MaxCols> ComplexMatrix; 412 ComplexMatrix CA = A.template cast<ComplexScalar>(); 510 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; 511 …typedef Matrix<ComplexScalar, Dynamic, Dynamic, 0, RowsAtCompileTime, ColsAtCompileTime> DynMatrix… 550 typedef typename internal::stem_function<Scalar>::ComplexScalar ComplexScalar; 551 return MatrixFunctionReturnValue<Derived>(derived(), internal::stem_function_sin<ComplexScalar>); 558 typedef typename internal::stem_function<Scalar>::ComplexScalar ComplexScalar; 559 return MatrixFunctionReturnValue<Derived>(derived(), internal::stem_function_cos<ComplexScalar>); 566 typedef typename internal::stem_function<Scalar>::ComplexScalar ComplexScalar; [all …]
|
D | MatrixExponential.h | 43 typedef std::complex<RealScalar> ComplexScalar; typedef 49 inline const ComplexScalar operator() (const ComplexScalar& x) const in operator() 52 return ComplexScalar(ldexp(x.real(), -m_squarings), ldexp(x.imag(), -m_squarings)); in operator() 358 typedef typename std::complex<RealScalar> ComplexScalar; 360 result = arg.matrixFunction(internal::stem_function_exp<ComplexScalar>);
|
D | MatrixLogarithm.h | 337 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; in evalTo() typedef 338 …typedef Matrix<ComplexScalar, Dynamic, Dynamic, 0, RowsAtCompileTime, ColsAtCompileTime> DynMatrix… in evalTo()
|
/external/eigen/unsupported/test/ |
D | matrix_function.cpp | 103 typedef std::complex<RealScalar> ComplexScalar; in testMatrixExponential() typedef 105 VERIFY_IS_APPROX(A.exp(), A.matrixFunction(internal::stem_function_exp<ComplexScalar>)); 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/test/ |
D | schur_complex.cpp | 16 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()
|
D | eigensolver_generalized_real.cpp | 26 typedef std::complex<Scalar> ComplexScalar; in generalized_eigensolver_real() typedef 62 …Matrix<ComplexScalar,Dynamic,Dynamic> tmp = (eig.betas()(k)*a).template cast<ComplexScalar>() - ei… in generalized_eigensolver_real()
|
/external/eigen/Eigen/src/Core/util/ |
D | ForwardDeclarations.h | 295 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar; 296 typedef ComplexScalar type(ComplexScalar, int);
|
/external/eigen/unsupported/Eigen/ |
D | MatrixFunctions | 352 ComplexScalar f(ComplexScalar, int) 354 where \c ComplexScalar = \c std::complex<Scalar> if \c Scalar is 355 real (e.g., \c float or \c double) and \c ComplexScalar =
|