Home
last modified time | relevance | path

Searched refs:matB (Results 1 – 12 of 12) sorted by relevance

/external/eigen/doc/snippets/
DTopicAliasing_mult2.cpp1 MatrixXf matA(2,2), matB(2,2); variable
5 matB = matA * matA;
6 cout << matB << endl << endl;
9 matB.noalias() = matA * matA;
10 cout << matB;
DTutorial_AdvancedInitialization_Block.cpp3 MatrixXf matB(4, 4); variable
4 matB << matA, matA/10, matA/10, matA;
5 std::cout << matB << std::endl;
/external/eigen/Eigen/src/Eigenvalues/
DGeneralizedSelfAdjointEigenSolver.h106 GeneralizedSelfAdjointEigenSolver(const MatrixType& matA, const MatrixType& matB,
110 compute(matA, matB, options);
153 GeneralizedSelfAdjointEigenSolver& compute(const MatrixType& matA, const MatrixType& matB,
163 compute(const MatrixType& matA, const MatrixType& matB, int options) in compute() argument
165 eigen_assert(matA.cols()==matA.rows() && matB.rows()==matA.rows() && matB.cols()==matB.rows()); in compute()
175 LLT<MatrixType> cholB(matB); in compute()
/external/eigen/test/
Dcholesky.cpp74 MatrixType matB = MatrixType::Random(rows,cols), matX(rows,cols); in cholesky() local
91 matX = chollo.solve(matB); in cholesky()
92 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
107 matX = cholup.solve(matB); in cholesky()
108 VERIFY_IS_APPROX(symm * matX, matB); in cholesky()
131 m2 += symmLo.template selfadjointView<Lower>().llt().solve(matB); in cholesky()
132 VERIFY_IS_APPROX(m2, m1 + symmLo.template selfadjointView<Lower>().llt().solve(matB)); in cholesky()
134 m2 -= symmLo.template selfadjointView<Lower>().llt().solve(matB); in cholesky()
135 VERIFY_IS_APPROX(m2, m1 - symmLo.template selfadjointView<Lower>().llt().solve(matB)); in cholesky()
137 m2.noalias() += symmLo.template selfadjointView<Lower>().llt().solve(matB); in cholesky()
[all …]
Dsparse_solvers.cpp80 SparseMatrix<Scalar> matB(rows, rows); in sparse_solvers() local
85 initSparse<Scalar>(density, refMatB, matB); in sparse_solvers()
87 m2.template triangularView<Lower>().solveInPlace(matB); in sparse_solvers()
88 VERIFY_IS_APPROX(matB.toDense(), refMatB); in sparse_solvers()
92 initSparse<Scalar>(density, refMatB, matB); in sparse_solvers()
94 m2.template triangularView<Upper>().solveInPlace(matB); in sparse_solvers()
95 VERIFY_IS_APPROX(matB, refMatB); in sparse_solvers()
/external/deqp/framework/common/
DtcuMatrix.hpp236 const Matrix<T, 2, 1> matB = Matrix<T, 2, 1>(areaB); in doInverse() local
240 const T schurComplement = T(1.0f) / (matD - matC*invA*matB)(0,0); in doInverse()
243 const Matrix<T, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in doInverse()
244 const Matrix<T, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in doInverse()
287 const Matrix<T, 2, 2> matB = Matrix<T, 2, 2>(areaB); in doInverse() local
291 const Matrix<T, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in doInverse()
294 const Matrix<T, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in doInverse()
295 const Matrix<T, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in doInverse()
/external/skia/src/effects/
DSkColorMatrix.cpp132 void SkColorMatrix::setConcat(const SkColorMatrix& matA, const SkColorMatrix& matB) { in setConcat() argument
133 SetConcat(fMat, matA.fMat, matB.fMat); in setConcat()
/external/eigen/doc/
DTopicAliasing.dox173 the same when the product is assigned to a different matrix (e.g., <tt>matB = matA * matA</tt>). In…
174 it is more efficient to evaluate the product directly into \c matB instead of evaluating it first i…
175 temporary matrix and copying that matrix to \c matB.
178 aliasing, as follows: <tt>matB.noalias() = matA * matA</tt>. This allows %Eigen to evaluate the mat…
179 <tt>matA * matA</tt> directly into \c matB.
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp762 const tcu::Matrix<float, 2, 1> matB = tcu::Matrix<float, 2, 1>(areaB); in inverse() local
766 const float schurComplement = 1.0f / (matD - matC*invA*matB)(0,0); in inverse()
769 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
770 const tcu::Matrix<float, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
814 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse() local
818 const tcu::Matrix<float, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in inverse()
821 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
822 const tcu::Matrix<float, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
/external/deqp/modules/gles3/functional/
Des3fShaderMatrixTests.cpp767 const tcu::Matrix<float, 2, 1> matB = tcu::Matrix<float, 2, 1>(areaB); in inverse() local
771 const float schurComplement = 1.0f / (matD - matC*invA*matB)(0,0); in inverse()
774 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
775 const tcu::Matrix<float, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
819 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse() local
823 const tcu::Matrix<float, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in inverse()
826 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse()
827 const tcu::Matrix<float, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp3705 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local
3711 (matD - dot(matC * invA, matB))); in doExpand()
3713 ExprP<Vec2> t1 = invA * matB; in doExpand()
3720 (invA * matB) * -schur); in doExpand()
3744 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local
3754 inverse(matD + -(matC * invA * matB))); in doExpand()
3756 invA + (invA * matB * schur * matC * invA)); in doExpand()
3758 (-invA) * matB * schur); in doExpand()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp3676 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local
3682 (matD - dot(matC * invA, matB))); in doExpand()
3684 ExprP<Vec2> t1 = invA * matB; in doExpand()
3691 (invA * matB) * -schur); in doExpand()
3715 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local
3725 inverse(matD + -(matC * invA * matB))); in doExpand()
3727 invA + (invA * matB * schur * matC * invA)); in doExpand()
3729 (-invA) * matB * schur); in doExpand()