Home
last modified time | relevance | path

Searched refs:matA (Results 1 – 21 of 21) sorted by relevance

/external/eigen/Eigen/src/Eigenvalues/
DGeneralizedSelfAdjointEigenSolver.h106 GeneralizedSelfAdjointEigenSolver(const MatrixType& matA, const MatrixType& matB,
108 : Base(matA.cols())
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()
184 MatrixType matC = matA.template selfadjointView<Lower>(); in compute()
197 MatrixType matC = matA.template selfadjointView<Lower>(); in compute()
210 MatrixType matC = matA.template selfadjointView<Lower>(); in compute()
DHessenbergDecomposition.h272 static void _compute(MatrixType& matA, CoeffVectorType& hCoeffs, VectorType& temp);
294 void HessenbergDecomposition<MatrixType>::_compute(MatrixType& matA, CoeffVectorType& hCoeffs, Vect…
296 eigen_assert(matA.rows()==matA.cols());
297 Index n = matA.rows();
305 matA.col(i).tail(remainingSize).makeHouseholderInPlace(h, beta);
306 matA.col(i).coeffRef(i+1) = beta;
313 matA.bottomRightCorner(remainingSize, remainingSize)
314 .applyHouseholderOnTheLeft(matA.col(i).tail(remainingSize-1), h, &temp.coeffRef(0));
317 matA.rightCols(remainingSize)
318 ….applyHouseholderOnTheRight(matA.col(i).tail(remainingSize-1).conjugate(), numext::conj(h), &temp.…
DTridiagonalization.h28 void tridiagonalization_inplace(MatrixType& matA, CoeffVectorType& hCoeffs);
347 void tridiagonalization_inplace(MatrixType& matA, CoeffVectorType& hCoeffs)
352 Index n = matA.rows();
353 eigen_assert(n==matA.cols());
361 matA.col(i).tail(remainingSize).makeHouseholderInPlace(h, beta);
365 matA.col(i).coeffRef(i+1) = 1;
367 …hCoeffs.tail(n-i-1).noalias() = (matA.bottomRightCorner(remainingSize,remainingSize).template self…
368 * (conj(h) * matA.col(i).tail(remainingSize)));
370 …nj(h)*RealScalar(-0.5)*(hCoeffs.tail(remainingSize).dot(matA.col(i).tail(remainingSize)))) * matA.…
372 matA.bottomRightCorner(remainingSize, remainingSize).template selfadjointView<Lower>()
[all …]
/external/eigen/doc/snippets/
DTopicAliasing_mult1.cpp1 MatrixXf matA(2,2); variable
2 matA << 2, 0, 0, 2;
3 matA = matA * matA;
4 cout << matA;
DTopicAliasing_mult3.cpp1 MatrixXf matA(2,2); variable
2 matA << 2, 0, 0, 2;
3 matA.noalias() = matA * matA;
4 cout << matA;
DTutorial_AdvancedInitialization_Block.cpp1 MatrixXf matA(2, 2); variable
2 matA << 1, 2, 3, 4;
4 matB << matA, matA/10, matA/10, matA;
DTopicAliasing_mult2.cpp1 MatrixXf matA(2,2), matB(2,2); variable
2 matA << 2, 0, 0, 2;
5 matB = matA * matA;
9 matB.noalias() = matA * matA;
/external/eigen/doc/
DTopicAliasing.dox158 Thus, if \c matA is a \b squared matrix, then the statement <tt>matA = matA * matA;</tt> is safe.
171 However, this comes at a price. When executing the expression <tt>matA = matA * matA</tt>, %Eigen e…
172 product in a temporary matrix which is assigned to \c matA after the computation. This is fine. But…
173 the same when the product is assigned to a different matrix (e.g., <tt>matB = matA * matA</tt>). In…
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/neven/Embedded/common/src/b_TensorEm/
DInt32Mat.h115 const int32* matA,
129 int32* matA,
DInt32Mat.c210 const int32* matA, in bts_Int32Mat_solve() argument
218 bbs_memcpy32( tmpMatA, matA, ( matWidthA * matWidthA ) * bbs_SIZEOF32( int32 ) ); in bts_Int32Mat_solve()
232 int32* matA, in bts_Int32Mat_solve2() argument
246 int32* matL = matA; in bts_Int32Mat_solve2()
/external/skia/src/effects/
DSkColorMatrix.cpp74 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/tensorflow/tensorflow/core/util/
Dcuda_sparse.cc437 const Scalar* alpha, const cusparseSpMatDescr_t matA, \
443 *gpusparse_handle_, transA, transB, alpha, matA, matB, beta, matC, \
454 const Scalar* alpha, const cusparseSpMatDescr_t matA, \
459 transB, alpha, matA, matB, beta, \
559 cusparseSpMatDescr_t matA; in SpMVImpl() local
561 &matA, m, n, nnz, const_cast<int*>(csrSortedRowPtrA), in SpMVImpl()
574 cusparse_handle, transA, alpha_host, matA, vecX, beta_host, vecY, dtype, in SpMVImpl()
584 cusparseSpMV(cusparse_handle, transA, alpha_host, matA, vecX, beta_host, in SpMVImpl()
589 TF_RETURN_IF_GPUSPARSE_ERROR(cusparseDestroySpMat(matA)); in SpMVImpl()
Dcuda_sparse.h291 const gpusparseSpMatDescr_t matA,
304 const Scalar* alpha, const gpusparseSpMatDescr_t matA,
/external/skqp/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/test/
Dcholesky.cpp353 MatrixType matA; in cholesky_bug241() local
354 matA << 1, 1, 1, 1; in cholesky_bug241()
357 VectorType vecX = matA.ldlt().solve(vecB); in cholesky_bug241()
358 VERIFY_IS_APPROX(matA * vecX, vecB); in cholesky_bug241()
/external/tensorflow/tensorflow/core/kernels/sparse/
Dmat_mul_op.cc835 gpusparseSpMatDescr_t matA; in Compute() local
840 &matA, m, k, nnz, const_cast<int*>(a.row_ptr.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()
869 TF_RETURN_IF_GPUSPARSE_ERROR(cusparseDestroySpMat(matA)); in Compute()
/external/eigen/blas/
Dlevel3_impl.h322 Matrix<Scalar,Dynamic,Dynamic,ColMajor> matA(size,size); in EIGEN_BLAS_FUNC()
325 matA.triangularView<Upper>() = matrix(a,size,size,*lda); in EIGEN_BLAS_FUNC()
326 matA.triangularView<Lower>() = matrix(a,size,size,*lda).transpose(); in EIGEN_BLAS_FUNC()
330 matA.triangularView<Lower>() = matrix(a,size,size,*lda); in EIGEN_BLAS_FUNC()
331 matA.triangularView<Upper>() = matrix(a,size,size,*lda).transpose(); in EIGEN_BLAS_FUNC()
334 matrix(c, *m, *n, *ldc) += alpha * matA * matrix(b, *m, *n, *ldb); in EIGEN_BLAS_FUNC()
336 matrix(c, *m, *n, *ldc) += alpha * matrix(b, *m, *n, *ldb) * matA; in EIGEN_BLAS_FUNC()
/external/deqp/data/gles3/shaders/
Dconstants.test784 const mat4x2 matA = mat4x2(2.0, 4.0, 8.0, 16.0, 32.0, 64.0, 128.0, 256.0);
789 mat4x2 result = matrixCompMult(matA, matB);
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcusparse_11_0.inc6429 cusparseSpMatDescr_t matA, cusparseDnVecDescr_t vecX, const void *beta,
6438 return func_ptr(handle, opA, alpha, matA, vecX, beta, vecY, computeType, alg,
6444 cusparseSpMatDescr_t matA, cusparseDnVecDescr_t vecX, const void *beta,
6453 return func_ptr(handle, opA, alpha, matA, vecX, beta, vecY, computeType, alg,
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,
[all …]
Dcusparse_10_2.inc8137 const cusparseSpMatDescr_t matA, const cusparseDnVecDescr_t vecX,
8146 return func_ptr(handle, opA, alpha, matA, vecX, beta, vecY, computeType, alg,
8152 const cusparseSpMatDescr_t matA, const cusparseDnVecDescr_t vecX,
8161 return func_ptr(handle, opA, alpha, matA, vecX, beta, vecY, computeType, alg,
8167 const void *alpha, const cusparseSpMatDescr_t matA,
8177 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
8183 const void *alpha, const cusparseSpMatDescr_t matA,
8193 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
8199 const void *alpha, const cusparseDnMatDescr_t matA,
8208 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
[all …]
Dcusparse_10_1.inc8137 const cusparseSpMatDescr_t matA, const cusparseDnVecDescr_t vecX,
8146 return func_ptr(handle, opA, alpha, matA, vecX, beta, vecY, computeType, alg,
8152 const cusparseSpMatDescr_t matA, const cusparseDnVecDescr_t vecX,
8161 return func_ptr(handle, opA, alpha, matA, vecX, beta, vecY, computeType, alg,
8167 const void *alpha, const cusparseSpMatDescr_t matA,
8177 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
8183 const void *alpha, const cusparseSpMatDescr_t matA,
8193 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
8199 const void *alpha, const cusparseDnMatDescr_t matA,
8208 return func_ptr(handle, opA, opB, alpha, matA, matB, beta, matC, computeType,
[all …]