35 #ifndef _BLAZE_MATH_BLAS_TRMV_H_ 36 #define _BLAZE_MATH_BLAS_TRMV_H_ 73 CBLAS_DIAG diag,
int n,
const float* A,
int lda,
float* x,
77 CBLAS_DIAG diag,
int n,
const double* A,
int lda,
double* x,
81 CBLAS_DIAG diag,
int n,
const complex<float>* A,
int lda,
82 complex<float>* x,
int incX );
85 CBLAS_DIAG diag,
int n,
const complex<double>* A,
int lda,
86 complex<double>* x,
int incX );
88 template<
typename VT,
typename MT,
bool SO >
92 template<
typename VT,
typename MT,
bool SO >
122 CBLAS_DIAG diag,
int n,
const float* A,
int lda,
float* x,
125 cblas_strmv( order, uplo, transA, diag, n, A, lda, x, incX );
152 CBLAS_DIAG diag,
int n,
const double* A,
int lda,
double* x,
155 cblas_dtrmv( order, uplo, transA, diag, n, A, lda, x, incX );
182 CBLAS_DIAG diag,
int n,
const complex<float>* A,
int lda,
183 complex<float>* x,
int incX )
187 cblas_ctrmv( order, uplo, transA, diag, n, reinterpret_cast<const float*>( A ),
188 lda, reinterpret_cast<float*>( x ), incX );
215 CBLAS_DIAG diag,
int n,
const complex<double>* A,
int lda,
216 complex<double>* x,
int incX )
220 cblas_ztrmv( order, uplo, transA, diag, n, reinterpret_cast<const double*>( A ),
221 lda, reinterpret_cast<double*>( x ), incX );
243 template<
typename VT
261 const int n ( numeric_cast<int>( (~A).
rows() ) );
262 const int lda( numeric_cast<int>( (~A).
spacing() ) );
264 trmv( ( IsRowMajorMatrix_v<MT> )?( CblasRowMajor ):( CblasColMajor ),
265 uplo, CblasNoTrans, CblasNonUnit, n, (~A).
data(), lda, (~x).
data(), 1 );
287 template<
typename VT
305 const int n ( numeric_cast<int>( (~A).
rows() ) );
306 const int lda( numeric_cast<int>( (~A).
spacing() ) );
308 trmv( ( IsRowMajorMatrix_v<MT> )?( CblasRowMajor ):( CblasColMajor ),
309 uplo, CblasTrans, CblasNonUnit, n, (~A).
data(), lda, (~x).
data(), 1 );
Constraint on the data type.
Header file for auxiliary alias declarations.
#define BLAZE_CONSTRAINT_MUST_HAVE_MUTABLE_DATA_ACCESS(T)
Constraint on the data type.In case the given data type T does not provide low-level data access to m...
Definition: MutableDataAccess.h:61
#define BLAZE_CONSTRAINT_MUST_HAVE_CONST_DATA_ACCESS(T)
Constraint on the data type.In case the given data type T does not provide low-level data access to c...
Definition: ConstDataAccess.h:61
MT::ElementType * data(DenseMatrix< MT, SO > &dm) noexcept
Low-level data access to the dense matrix elements.
Definition: DenseMatrix.h:170
#define BLAZE_CONSTRAINT_MUST_NOT_BE_COMPUTATION_TYPE(T)
Constraint on the data type.In case the given data type T is a computational expression (i....
Definition: Computation.h:81
Header file for the DenseVector base class.
Cast operators for numeric types.
constexpr size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:514
size_t spacing(const DenseMatrix< MT, SO > &dm) noexcept
Returns the spacing between the beginning of two rows/columns.
Definition: DenseMatrix.h:253
Constraint on the data type.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the DenseMatrix base class.
Constraint on the data type.
System settings for the BLAS mode.
Header file for run time assertion macros.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_BLAS_COMPATIBLE_TYPE(T)
Constraint on the data type.In case the given data type T is not a BLAS compatible data type (i....
Definition: BLASCompatible.h:61
constexpr size_t rows(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of rows of the matrix.
Definition: Matrix.h:498
Header file for the IsRowMajorMatrix type trait.
Header file for the complex data type.
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.In case of an invalid compile time expression, a compilation error is cr...
Definition: StaticAssert.h:112
System settings for the inline keywords.
#define BLAZE_INTERNAL_ASSERT(expr, msg)
Run time assertion macro for internal checks.In case of an invalid run time expression,...
Definition: Assert.h:101