KrisLibrary  1.0.0
Static Public Member Functions | List of all members
Math::BLASInterface Struct Reference

An interface to BLAS. Activated with the preprocessor flag HAVE_BLAS=1. More...

#include <BLASInterface.h>

Static Public Member Functions

static float Dot (const fVector &x, const fVector &y)
 Level 1 BLAS.
 
static double Dot (const dVector &x, const dVector &y)
 
static float Norm_L2 (const fVector &x)
 
static double Norm_L2 (const dVector &x)
 
static float Norm_L1 (const fVector &x)
 
static double Norm_L1 (const dVector &x)
 
static int MaxAbsIndex (const fVector &x)
 
static int MaxAbsIndex (const dVector &x)
 
static void Madd (fVector &v, const fVector &x, float a)
 
static void Madd (dVector &v, const dVector &x, double a)
 
static void InplaceMul (fVector &v, float a)
 
static void InplaceMul (dVector &v, double a)
 
static void Mul (const fMatrix &A, const fVector &x, fVector &out)
 Level 2 BLAS.
 
static void Mul (const dMatrix &A, const dVector &x, dVector &out)
 
static void MulTranspose (const fMatrix &A, const fVector &x, fVector &out)
 
static void MulTranspose (const dMatrix &A, const dVector &x, dVector &out)
 
static void Madd (const fMatrix &A, const fVector &x, fVector &y, float alpha=1.0, float beta=1.0)
 
static void Madd (const dMatrix &A, const dVector &x, dVector &y, double alpha=1.0, double beta=1.0)
 
static void MaddTranspose (const fMatrix &A, const fVector &x, fVector &y, float alpha=1.0, float beta=1.0)
 
static void MaddTranspose (const dMatrix &A, const dVector &x, dVector &y, double alpha=1.0, double beta=1.0)
 
static void Mul (const fMatrix &A, const fMatrix &B, fMatrix &X)
 Level 3 BLAS.
 
static void Mul (const dMatrix &A, const dMatrix &B, dMatrix &X)
 
static void Madd (const fMatrix &A, const fMatrix &B, fMatrix &X, bool Atranspose=false, bool Btranspose=false, float alpha=1.0, float beta=1.0)
 
static void Madd (const dMatrix &A, const dMatrix &B, dMatrix &X, bool Atranspose=false, bool Btranspose=false, double alpha=1.0, double beta=1.0)
 

Detailed Description

An interface to BLAS. Activated with the preprocessor flag HAVE_BLAS=1.


The documentation for this struct was generated from the following files: