Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TMVA::DNN::Blas Namespace Reference

Functions

template<typename AReal >
void Axpy (const int *n, const AReal *alpha, const AReal *x, const int *incx, AReal *y, const int *incy)
 Add the vector x scaled by alpha to y scaled by \beta
 
template<>
void Axpy< double > (const int *n, const double *alpha, const double *x, const int *incx, double *y, const int *incy)
 
template<>
void Axpy< float > (const int *n, const float *alpha, const float *x, const int *incx, float *y, const int *incy)
 
template<typename AReal >
void Gemm (const char *transa, const char *transb, const int *m, const int *n, const int *k, const AReal *alpha, const AReal *A, const int *lda, const AReal *B, const int *ldb, const AReal *beta, AReal *C, const int *ldc)
 Multiply the matrix A with the matrix B and store the result in C.
 
template<>
void Gemm< double > (const char *transa, const char *transb, const int *m, const int *n, const int *k, const double *alpha, const double *A, const int *lda, const double *B, const int *ldb, const double *beta, double *C, const int *ldc)
 
template<>
void Gemm< float > (const char *transa, const char *transb, const int *m, const int *n, const int *k, const float *alpha, const float *A, const int *lda, const float *B, const int *ldb, const float *beta, float *C, const int *ldc)
 
template<typename AReal >
void Gemv (const char *trans, const int *m, const int *n, const AReal *alpha, const AReal *A, const int *lda, const AReal *x, const int *incx, const AReal *beta, AReal *y, const int *incy)
 Multiply the vector x with the matrix A and store the result in y.
 
template<>
void Gemv< double > (const char *trans, const int *m, const int *n, const double *alpha, const double *A, const int *lda, const double *x, const int *incx, const double *beta, double *y, const int *incy)
 
template<>
void Gemv< float > (const char *trans, const int *m, const int *n, const float *alpha, const float *A, const int *lda, const float *x, const int *incx, const float *beta, float *y, const int *incy)
 
template<typename AReal >
void Ger (const int *m, const int *n, const AReal *alpha, const AReal *x, const int *incx, const AReal *y, const int *incy, AReal *A, const int *lda)
 Add the outer product of x and y to the matrix A.
 
template<>
void Ger< double > (const int *m, const int *n, const double *alpha, const double *x, const int *incx, const double *y, const int *incy, double *A, const int *lda)
 
template<>
void Ger< float > (const int *m, const int *n, const float *alpha, const float *x, const int *incx, const float *y, const int *incy, float *A, const int *lda)
 

Function Documentation

◆ Axpy()

template<typename AReal >
void TMVA::DNN::Blas::Axpy ( const int * n,
const AReal * alpha,
const AReal * x,
const int * incx,
AReal * y,
const int * incy )
inline

Add the vector x scaled by alpha to y scaled by \beta

◆ Axpy< double >()

template<>
void TMVA::DNN::Blas::Axpy< double > ( const int * n,
const double * alpha,
const double * x,
const int * incx,
double * y,
const int * incy )
inline

Definition at line 103 of file Blas.h.

◆ Axpy< float >()

template<>
void TMVA::DNN::Blas::Axpy< float > ( const int * n,
const float * alpha,
const float * x,
const int * incx,
float * y,
const int * incy )
inline

Definition at line 111 of file Blas.h.

◆ Gemm()

template<typename AReal >
void TMVA::DNN::Blas::Gemm ( const char * transa,
const char * transb,
const int * m,
const int * n,
const int * k,
const AReal * alpha,
const AReal * A,
const int * lda,
const AReal * B,
const int * ldb,
const AReal * beta,
AReal * C,
const int * ldc )
inline

Multiply the matrix A with the matrix B and store the result in C.

◆ Gemm< double >()

template<>
void TMVA::DNN::Blas::Gemm< double > ( const char * transa,
const char * transb,
const int * m,
const int * n,
const int * k,
const double * alpha,
const double * A,
const int * lda,
const double * B,
const int * ldb,
const double * beta,
double * C,
const int * ldc )
inline

Definition at line 137 of file Blas.h.

◆ Gemm< float >()

template<>
void TMVA::DNN::Blas::Gemm< float > ( const char * transa,
const char * transb,
const int * m,
const int * n,
const int * k,
const float * alpha,
const float * A,
const int * lda,
const float * B,
const int * ldb,
const float * beta,
float * C,
const int * ldc )
inline

Definition at line 147 of file Blas.h.

◆ Gemv()

template<typename AReal >
void TMVA::DNN::Blas::Gemv ( const char * trans,
const int * m,
const int * n,
const AReal * alpha,
const AReal * A,
const int * lda,
const AReal * x,
const int * incx,
const AReal * beta,
AReal * y,
const int * incy )
inline

Multiply the vector x with the matrix A and store the result in y.

◆ Gemv< double >()

template<>
void TMVA::DNN::Blas::Gemv< double > ( const char * trans,
const int * m,
const int * n,
const double * alpha,
const double * A,
const int * lda,
const double * x,
const int * incx,
const double * beta,
double * y,
const int * incy )
inline

Definition at line 119 of file Blas.h.

◆ Gemv< float >()

template<>
void TMVA::DNN::Blas::Gemv< float > ( const char * trans,
const int * m,
const int * n,
const float * alpha,
const float * A,
const int * lda,
const float * x,
const int * incx,
const float * beta,
float * y,
const int * incy )
inline

Definition at line 128 of file Blas.h.

◆ Ger()

template<typename AReal >
void TMVA::DNN::Blas::Ger ( const int * m,
const int * n,
const AReal * alpha,
const AReal * x,
const int * incx,
const AReal * y,
const int * incy,
AReal * A,
const int * lda )
inline

Add the outer product of x and y to the matrix A.

◆ Ger< double >()

template<>
void TMVA::DNN::Blas::Ger< double > ( const int * m,
const int * n,
const double * alpha,
const double * x,
const int * incx,
const double * y,
const int * incy,
double * A,
const int * lda )
inline

Definition at line 157 of file Blas.h.

◆ Ger< float >()

template<>
void TMVA::DNN::Blas::Ger< float > ( const int * m,
const int * n,
const float * alpha,
const float * x,
const int * incx,
const float * y,
const int * incy,
float * A,
const int * lda )
inline

Definition at line 166 of file Blas.h.