/external/eigen/test/ |
H A D | product_syrk.cpp | 37 ((s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 41 (s1 * rhs2 * rhs2.adjoint()).eval().template triangularView<Upper>().toDenseMatrix()); 45 (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Lower>().toDenseMatrix()); 49 (s1 * rhs1.adjoint() * rhs1).eval().template triangularView<Upper>().toDenseMatrix()); 53 (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Lower>().toDenseMatrix()); 57 (s1 * rhs3.adjoint() * rhs3).eval().template triangularView<Upper>().toDenseMatrix()); 61 ((s1 * m1.col(c) * m1.col(c).adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 65 ((s1 * m1.col(c) * m1.col(c).adjoint()).eval().template triangularView<Upper>().toDenseMatrix())); 69 ((s1 * m1.col(c).conjugate() * m1.col(c).conjugate().adjoint()).eval().template triangularView<Lower>().toDenseMatrix())); 73 ((s1 * m1.col(c).conjugate() * m1.col(c).conjugate().adjoint()).eval().template triangularView<Upper>().toDenseMatrix())); [all...] |
H A D | permutationmatrices.cpp | 52 VERIFY((lp*lp.inverse()).toDenseMatrix().isIdentity()); 53 VERIFY((lv.asPermutation()*lv.asPermutation().inverse()).toDenseMatrix().isIdentity()); 54 VERIFY((MapLeftPerm(lv.data(),lv.size())*MapLeftPerm(lv.data(),lv.size()).inverse()).toDenseMatrix().isIdentity()); 60 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); 61 VERIFY_IS_APPROX((lv.asPermutation()*lv2.asPermutation()).toDenseMatrix().template cast<Scalar>(), lm*lm2); 62 VERIFY_IS_APPROX((MapLeftPerm(lv.data(),lv.size())*MapLeftPerm(lv2.data(),lv2.size())).toDenseMatrix().template cast<Scalar>(), lm*lm2); 94 VERIFY_IS_APPROX(lm, lp2.toDenseMatrix().template cast<Scalar>()); 102 VERIFY_IS_APPROX(rm, rp2.toDenseMatrix().template cast<Scalar>());
|
H A D | product_selfadjoint.cpp | 44 VERIFY_IS_APPROX(m2, (m1 + v1 * v2.adjoint()+ v2 * v1.adjoint()).template triangularView<Lower>().toDenseMatrix()); 48 VERIFY_IS_APPROX(m2, (m1 + (s3*(-v1)*(s2*v2).adjoint()+internal::conj(s3)*(s2*v2)*(-v1).adjoint())).template triangularView<Upper>().toDenseMatrix()); 52 VERIFY_IS_APPROX(m2, (m1 + s1*(-s2*r1.adjoint())*(r2.adjoint()*s3).adjoint() + internal::conj(s1)*(r2.adjoint()*s3) * (-s2*r1.adjoint()).adjoint()).template triangularView<Upper>().toDenseMatrix()); 60 VERIFY_IS_APPROX(m2, m3.template triangularView<Lower>().toDenseMatrix());
|
H A D | bandmatrix.cpp | 42 VERIFY_IS_APPROX(dm1,m.toDenseMatrix()); 57 VERIFY_IS_APPROX(dm1,m.toDenseMatrix());
|
H A D | triangular.cpp | 56 VERIFY_IS_APPROX(m3.template triangularView<Lower>().transpose().toDenseMatrix(), m1); 61 VERIFY_IS_APPROX(m3.template triangularView<Lower>().toDenseMatrix(), m1); 63 VERIFY_IS_APPROX(m3.template triangularView<Lower>().conjugate().toDenseMatrix(), 64 m3.conjugate().template triangularView<Lower>().toDenseMatrix()); 161 VERIFY_IS_APPROX(m3.template triangularView<Upper>().toDenseMatrix(), m1); 166 VERIFY_IS_APPROX(m3.template triangularView<Lower>().toDenseMatrix(), m1); 170 VERIFY_IS_APPROX(m3.template triangularView<StrictlyUpper>().toDenseMatrix(), m1); 175 VERIFY_IS_APPROX(m3.template triangularView<StrictlyLower>().toDenseMatrix(), m1);
|
H A D | diagonalmatrices.cpp | 37 VERIFY_IS_APPROX(sq_m1, v1.asDiagonal().toDenseMatrix()); 39 VERIFY_IS_APPROX(sq_m1, v1.asDiagonal().toDenseMatrix()); 50 VERIFY_IS_APPROX(sq_m1, ldm1.toDenseMatrix()); 52 VERIFY_IS_APPROX(sq_m1, ldm1.toDenseMatrix());
|
H A D | product_trsolve.cpp | 15 VERIFY_IS_APPROX((TRI).toDenseMatrix() * (XB), ref); \ 18 VERIFY_IS_APPROX((TRI).toDenseMatrix() * (XB), ref); \ 24 VERIFY_IS_APPROX((XB).transpose() * (TRI).transpose().toDenseMatrix(), ref.transpose()); \ 27 VERIFY_IS_APPROX((XB).transpose() * (TRI).transpose().toDenseMatrix(), ref.transpose()); \
|
/external/eigen/Eigen/src/Core/ |
H A D | DiagonalMatrix.h | 42 DenseMatrixType toDenseMatrix() const { return derived(); } function in class:Eigen::DiagonalBase 77 return toDenseMatrix().isApprox(other, precision);
|
H A D | SelfAdjointView.h | 182 m_matrix.const_cast_derived().template triangularView<UpLo>() = other.toDenseMatrix(); 183 m_matrix.const_cast_derived().template triangularView<OtherPart>() = other.toDenseMatrix().adjoint();
|
H A D | TriangularMatrix.h | 86 DenseMatrixType toDenseMatrix() const function in class:Eigen::TriangularBase 314 return this->toDenseMatrix() * rhsPlainObject; 319 return this->toDenseMatrix().isApprox(other.toDenseMatrix(), precision); 324 return this->toDenseMatrix().isApprox(other, precision);
|
H A D | PermutationMatrix.h | 130 DenseMatrixType toDenseMatrix() const function in class:Eigen::PermutationBase 653 DenseMatrixType toDenseMatrix() const { return *this; } function in class:Eigen::Transpose
|
H A D | BandMatrix.h | 145 DenseMatrixType toDenseMatrix() const function in class:Eigen::internal::BandMatrixBase
|
/external/eigen/Eigen/src/LU/ |
H A D | FullPivLU.h | 519 // FIXME the .toDenseMatrix() should not be needed... 521 .template triangularView<UnitLower>().toDenseMatrix() 523 .template triangularView<Upper>().toDenseMatrix();
|
H A D | PartialPivLU.h | 421 MatrixType res = m_lu.template triangularView<UnitLower>().toDenseMatrix()
|
/external/eigen/Eigen/src/Cholesky/ |
H A D | LLT.h | 463 return matrixL() * matrixL().adjoint().toDenseMatrix();
|