/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/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/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/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/tensorflow/tensorflow/core/kernels/sparse/ |
D | mat_mul_op.cc | 836 gpusparseDnMatDescr_t matB, matC; in Compute() local 846 cusparseCreateDnMat(&matB, n, k, ldb, const_cast<T*>(b.data()), in Compute() 855 transA, transB, &alpha, matA, matB, &beta, matC, in Compute() 863 TF_RETURN_IF_ERROR(cuda_sparse.SpMM(transA, transB, &alpha, matA, matB, in Compute() 867 TF_RETURN_IF_GPUSPARSE_ERROR(cusparseDestroyDnMat(matB)); in Compute()
|
/external/tensorflow/tensorflow/core/util/ |
D | cuda_sparse.h | 292 const gpusparseDnMatDescr_t matB, const Scalar* beta, 305 const gpusparseDnMatDescr_t matB, const Scalar* beta,
|
D | cuda_sparse.cc | 438 const gpusparseDnMatDescr_t matB, const Scalar* beta, \ 443 *gpusparse_handle_, transA, transB, alpha, matA, matB, beta, matC, \ 455 const gpusparseDnMatDescr_t matB, const Scalar* beta, \ 459 transB, alpha, matA, matB, beta, \
|
/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/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/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 4999 ExprP<Vec2> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local 5005 (matD - dot(matC * invA, matB))); in doExpand() 5007 ExprP<Vec2> t1 = invA * matB; in doExpand() 5014 (invA * matB) * -schur); in doExpand() 5038 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand() local 5048 inverse(matD + -(matC * invA * matB))); in doExpand() 5050 invA + (invA * matB * schur * matC * invA)); in doExpand() 5052 (-invA) * matB * schur); in doExpand() 5100 ExprP<Vec2_16Bit> matB = bindExpression("matB", ctx, vec2(mat[2][0], mat[2][1])); in doExpand() local 5106 (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_11_0.inc | 6459 const void *alpha, cusparseSpMatDescr_t matA, cusparseDnMatDescr_t matB, 6468 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 6474 const void *alpha, cusparseSpMatDescr_t matA, cusparseDnMatDescr_t matB, 6483 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 6505 const void *alpha, cusparseSpMatDescr_t matA, cusparseSpMatDescr_t matB, 6516 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 6522 const void *alpha, cusparseSpMatDescr_t matA, cusparseSpMatDescr_t matB, 6533 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 6539 const void *alpha, cusparseSpMatDescr_t matA, cusparseSpMatDescr_t matB, 6549 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, [all …]
|
D | cusparse_10_2.inc | 8168 const cusparseDnMatDescr_t matB, const void *beta, 8177 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8184 const cusparseDnMatDescr_t matB, const void *beta, 8193 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8200 const cusparseDnMatDescr_t matB, const void *beta, 8208 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8215 const cusparseDnMatDescr_t matB, const void *beta, 8224 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
|
D | cusparse_10_1.inc | 8168 const cusparseDnMatDescr_t matB, const void *beta, 8177 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8184 const cusparseDnMatDescr_t matB, const void *beta, 8193 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8200 const cusparseDnMatDescr_t matB, const void *beta, 8208 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType, 8215 const cusparseDnMatDescr_t matB, const void *beta, 8224 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
|