/external/eigen/doc/snippets/ |
D | TopicAliasing_mult2.cpp | 1 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;
|
D | Tutorial_AdvancedInitialization_Block.cpp | 3 MatrixXf matB(4, 4); variable 4 matB << matA, matA/10, matA/10, matA; 5 std::cout << matB << std::endl;
|
/external/eigen/Eigen/src/Eigenvalues/ |
D | GeneralizedSelfAdjointEigenSolver.h | 106 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/ |
D | cholesky.cpp | 74 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 …]
|
D | sparse_solvers.cpp | 80 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/ |
D | tcuMatrix.hpp | 242 const Matrix<T, 2, 1> matB = Matrix<T, 2, 1>(areaB); in doInverse() local 246 const T schurComplement = T(1.0f) / (matD - matC*invA*matB)(0,0); in doInverse() 249 const Matrix<T, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in doInverse() 250 const Matrix<T, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in doInverse() 293 const Matrix<T, 2, 2> matB = Matrix<T, 2, 2>(areaB); in doInverse() local 297 const Matrix<T, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in doInverse() 300 const Matrix<T, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in doInverse() 301 const Matrix<T, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in doInverse()
|
/external/skia/src/effects/ |
D | SkColorMatrix.cpp | 74 void SkColorMatrix::setConcat(const SkColorMatrix& matA, const SkColorMatrix& matB) { in setConcat() argument 75 set_concat(fMat.data(), matA.fMat.data(), matB.fMat.data()); in setConcat()
|
/external/skqp/src/effects/ |
D | SkColorMatrix.cpp | 132 void SkColorMatrix::setConcat(const SkColorMatrix& matA, const SkColorMatrix& matB) { in setConcat() argument 133 SetConcat(fMat, matA.fMat, matB.fMat); in setConcat()
|
/external/eigen/doc/ |
D | TopicAliasing.dox | 173 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/ |
D | vktShaderRenderMatrixTests.cpp | 748 const tcu::Matrix<float, 2, 1> matB = tcu::Matrix<float, 2, 1>(areaB); in inverse() local 752 const float schurComplement = 1.0f / (matD - matC*invA*matB)(0,0); in inverse() 755 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse() 756 const tcu::Matrix<float, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in inverse() 800 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse() local 804 const tcu::Matrix<float, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in inverse() 807 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse() 808 const tcu::Matrix<float, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 753 const tcu::Matrix<float, 2, 1> matB = tcu::Matrix<float, 2, 1>(areaB); in inverse() local 757 const float schurComplement = 1.0f / (matD - matC*invA*matB)(0,0); in inverse() 760 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse() 761 const tcu::Matrix<float, 2, 1> blockB = (zeroMat-invA)*matB*schurComplement; in inverse() 805 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse() local 809 const tcu::Matrix<float, 2, 2> schurComplement = inverse(matD - matC*invA*matB); in inverse() 812 const tcu::Matrix<float, 2, 2> blockA = invA + invA*matB*schurComplement*matC*invA; in inverse() 813 const tcu::Matrix<float, 2, 2> blockB = (zeroMat-invA)*matB*schurComplement; in inverse()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 4506 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local 4512 (matD - dot(matC * invA, matB))); in doExpand() 4514 ExprP<Vec2> t1 = invA * matB; in doExpand() 4521 (invA * matB) * -schur); in doExpand() 4545 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local 4555 inverse(matD + -(matC * invA * matB))); in doExpand() 4557 invA + (invA * matB * schur * matC * invA)); in doExpand() 4559 (-invA) * matB * schur); in doExpand() 4607 ExprP<Vec2_16Bit> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local 4613 (matD - dot(matC * invA, matB))); in doExpand() [all …]
|
/external/deqp/data/gles3/shaders/ |
D | constants.test | 785 …const mat4x2 matB = mat4x2(1.0/2.0, 1.0/4.0, 1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0, 1.0/128.0, 1.0… 789 mat4x2 result = matrixCompMult(matA, matB);
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 3855 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local 3861 (matD - dot(matC * invA, matB))); in doExpand() 3863 ExprP<Vec2> t1 = invA * matB; in doExpand() 3870 (invA * matB) * -schur); in doExpand() 3894 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local 3904 inverse(matD + -(matC * invA * matB))); in doExpand() 3906 invA + (invA * matB * schur * matC * invA)); in doExpand() 3908 (-invA) * matB * schur); in doExpand()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cusparse_10_1.inc | 8198 const cusparseDnMatDescr_t matB, const void *beta, 8207 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8214 const cusparseDnMatDescr_t matB, const void *beta, 8223 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8230 const cusparseDnMatDescr_t matB, const void *beta, 8238 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8245 const cusparseDnMatDescr_t matB, const void *beta, 8254 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
|