TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Typedefs | Functions | Variables
bench_gemm.cpp File Reference
#include <iostream>
#include <bench/BenchTimer.h>
#include <Eigen/Core>

Macros

#define SCALAR   float
 
#define SCALARA   SCALAR
 
#define SCALARB   SCALAR
 

Typedefs

typedef SCALAR Scalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Matrix< SCALARA, Dynamic, Dynamic, opt_AA
 
typedef Matrix< SCALARB, Dynamic, Dynamic, opt_BB
 
typedef Matrix< Scalar, Dynamic, Dynamic > C
 
typedef Matrix< RealScalar, Dynamic, Dynamic > M
 

Functions

void matlab_cplx_cplx (const M &ar, const M &ai, const M &br, const M &bi, M &cr, M &ci)
 
void matlab_real_cplx (const M &a, const M &br, const M &bi, M &cr, M &ci)
 
void matlab_cplx_real (const M &ar, const M &ai, const M &b, M &cr, M &ci)
 
template<typename A , typename B , typename C >
EIGEN_DONT_INLINE void gemm (const A &a, const B &b, C &c)
 
int main (int argc, char **argv)
 

Variables

const int opt_A = ColMajor
 
const int opt_B = ColMajor
 

Macro Definition Documentation

◆ SCALAR

#define SCALAR   float

◆ SCALARA

#define SCALARA   SCALAR

◆ SCALARB

#define SCALARB   SCALAR

Typedef Documentation

◆ A

◆ B

typedef Matrix<SCALARB,Dynamic,Dynamic,opt_B> B

◆ C

typedef Matrix<Scalar,Dynamic,Dynamic> C

◆ M

typedef Matrix<RealScalar,Dynamic,Dynamic> M

◆ RealScalar

◆ Scalar

typedef SCALAR Scalar

Function Documentation

◆ gemm()

template<typename A , typename B , typename C >
EIGEN_DONT_INLINE void gemm ( const A a,
const B b,
C c 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ matlab_cplx_cplx()

void matlab_cplx_cplx ( const M ar,
const M ai,
const M br,
const M bi,
M cr,
M ci 
)

◆ matlab_cplx_real()

void matlab_cplx_real ( const M ar,
const M ai,
const M b,
M cr,
M ci 
)

◆ matlab_real_cplx()

void matlab_real_cplx ( const M a,
const M br,
const M bi,
M cr,
M ci 
)

Variable Documentation

◆ opt_A

const int opt_A = ColMajor

◆ opt_B

const int opt_B = ColMajor