35#ifndef _BLAZE_MATH_BLAS_TRMV_H_
36#define _BLAZE_MATH_BLAS_TRMV_H_
70template<
typename VT,
typename MT,
bool SO >
71void trmv( DenseVector<VT,false>& x,
const DenseMatrix<MT,SO>& A, CBLAS_UPLO uplo );
73template<
typename VT,
typename MT,
bool SO >
74void trmv( DenseVector<VT,true>& x,
const DenseMatrix<MT,SO>& A, CBLAS_UPLO uplo );
104inline void trmv( DenseVector<VT,false>& x,
const DenseMatrix<MT,SO>& A, CBLAS_UPLO uplo )
118 const blas_int_t n ( numeric_cast<blas_int_t>( (*A).rows() ) );
119 const blas_int_t lda( numeric_cast<blas_int_t>( (*A).spacing() ) );
121 trmv( ( IsRowMajorMatrix_v<MT> )?( CblasRowMajor ):( CblasColMajor ),
122 uplo, CblasNoTrans, CblasNonUnit, n, (*A).data(), lda, (*x).data(), 1 );
151inline void trmv( DenseVector<VT,true>& x,
const DenseMatrix<MT,SO>& A, CBLAS_UPLO uplo )
165 const blas_int_t n ( numeric_cast<blas_int_t>( (*A).rows() ) );
166 const blas_int_t lda( numeric_cast<blas_int_t>( (*A).spacing() ) );
168 trmv( ( IsRowMajorMatrix_v<MT> )?( CblasRowMajor ):( CblasColMajor ),
169 uplo, CblasTrans, CblasNonUnit, n, (*A).data(), lda, (*x).data(), 1 );
Header file for auxiliary alias declarations.
Header file for run time assertion macros.
Constraint on the data type.
Constraint on the data type.
Header file for the IsRowMajorMatrix type trait.
Constraint on the data type.
Cast operators for numeric types.
Header file for the CBLAS trmv wrapper functions.
Constraint on the data type.
Header file for the DenseMatrix base class.
Header file for the DenseVector base class.
#define BLAZE_CONSTRAINT_MUST_BE_BLAS_COMPATIBLE_TYPE(T)
Constraint on the data type.
Definition: BLASCompatible.h:61
#define BLAZE_CONSTRAINT_MUST_NOT_BE_COMPUTATION_TYPE(T)
Constraint on the data type.
Definition: Computation.h:81
#define BLAZE_CONSTRAINT_MUST_HAVE_MUTABLE_DATA_ACCESS(T)
Constraint on the data type.
Definition: MutableDataAccess.h:61
#define BLAZE_CONSTRAINT_MUST_HAVE_CONST_DATA_ACCESS(T)
Constraint on the data type.
Definition: ConstDataAccess.h:61
int32_t blas_int_t
Signed integer type used in the BLAS/LAPACK wrapper functions.
Definition: Types.h:64
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.
Definition: Assert.h:101
System settings for the BLAS mode.