35#ifndef _BLAZE_MATH_BLAS_TRMM_H_
36#define _BLAZE_MATH_BLAS_TRMM_H_
69template<
typename MT1,
bool SO1,
typename MT2,
bool SO2,
typename ST >
70void trmm( DenseMatrix<MT1,SO1>& B,
const DenseMatrix<MT2,SO2>& A,
71 CBLAS_SIDE side, CBLAS_UPLO uplo, ST alpha );
101template<
typename MT1
106inline void trmm( DenseMatrix<MT1,SO1>& B,
const DenseMatrix<MT2,SO2>& A,
107 CBLAS_SIDE side, CBLAS_UPLO uplo, ST alpha )
122 const blas_int_t m ( numeric_cast<blas_int_t>( (*B).rows() ) );
123 const blas_int_t n ( numeric_cast<blas_int_t>( (*B).columns() ) );
124 const blas_int_t lda( numeric_cast<blas_int_t>( (*A).spacing() ) );
125 const blas_int_t ldb( numeric_cast<blas_int_t>( (*B).spacing() ) );
127 trmm( ( IsRowMajorMatrix_v<MT1> )?( CblasRowMajor ):( CblasColMajor ),
129 ( SO1 == SO2 )?( uplo ):( ( uplo == CblasLower )?( CblasUpper ):( CblasLower ) ),
130 ( SO1 == SO2 )?( CblasNoTrans ):( CblasTrans ),
132 m, n, alpha, (*A).data(), lda, (*B).data(), ldb );
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 trmm wrapper functions.
Constraint on the data type.
Header file for the DenseMatrix 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.