Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Blas.h File Reference
#include <iostream>
Include dependency graph for Blas.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  TMVA
 create variable transformations
 
namespace  TMVA::DNN
 
namespace  TMVA::DNN::Blas
 

Functions

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)
 Add the vector x scaled by alpha to y scaled by \beta
 
template<>
void TMVA::DNN::Blas::Axpy< double > (const int *n, const double *alpha, const double *x, const int *incx, double *y, const int *incy)
 
template<>
void TMVA::DNN::Blas::Axpy< float > (const int *n, const float *alpha, const float *x, const int *incx, float *y, const int *incy)
 
void daxpy_ (const int *n, const double *alpha, const double *x, const int *incx, double *y, const int *incy)
 
void dgemm_ (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)
 
void dgemv_ (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)
 
void dger_ (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<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)
 Multiply the matrix A with the matrix B and store the result in C.
 
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)
 
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)
 
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)
 Multiply the vector x with the matrix A and store the result in y.
 
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)
 
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)
 
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)
 Add the outer product of x and y to the matrix A.
 
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)
 
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)
 
void saxpy_ (const int *n, const float *alpha, const float *x, const int *incx, float *y, const int *incy)
 
void sgemm_ (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)
 
void sgemv_ (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)
 
void sger_ (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

◆ daxpy_()

void daxpy_ ( const int n,
const double alpha,
const double x,
const int incx,
double y,
const int incy 
)

◆ dgemm_()

void dgemm_ ( 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 
)

◆ dgemv_()

void dgemv_ ( 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 
)

◆ dger_()

void dger_ ( 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 
)

◆ saxpy_()

void saxpy_ ( const int n,
const float *  alpha,
const float *  x,
const int incx,
float *  y,
const int incy 
)

◆ sgemm_()

void sgemm_ ( 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 
)

◆ sgemv_()

void sgemv_ ( 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 
)

◆ sger_()

void sger_ ( 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 
)