Home
last modified time | relevance | path

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

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorFFT.h65 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;
209ComplexScalar* buf = write_to_out ? (ComplexScalar*)data : (ComplexScalar*)m_device.allocate(sizeo…
220 ComplexScalar* line_buf = (ComplexScalar*)m_device.allocate(sizeof(ComplexScalar) * line_len);
225ComplexScalar* a = is_power_of_two ? NULL : (ComplexScalar*)m_device.allocate(sizeof(ComplexScalar
[all …]
/external/eigen/Eigen/src/Eigenvalues/
DComplexSchur.h74 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 …]
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,…
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()
542ComplexScalar 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 …]
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,…
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()
DGeneralizedEigenSolver.h84 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()
DComplexSchur_LAPACKE.h47 typedef std::complex<RealScalar> ComplexScalar; \
54 m_matT = matrix.derived().template 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/Eigen/src/MatrixFunctions/
DMatrixPower.h96 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()
302ComplexScalar 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 …]
DMatrixFunction.h409 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 …]
DMatrixExponential.h43 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>);
DMatrixLogarithm.h337 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/
Dmatrix_function.cpp103 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/
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()
Deigensolver_generalized_real.cpp26 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/
DForwardDeclarations.h295 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
296 typedef ComplexScalar type(ComplexScalar, int);
/external/eigen/unsupported/Eigen/
DMatrixFunctions352 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 =