klMatrix
Data Structures | Typedefs | Functions
kl_matrix.h File Reference
#include "mkl.h"
#include "kl_memory.h"
#include "kl_util.h"
#include "kl_vector.h"
#include <limits.h>
#include <float.h>
#include <string>
#include <vector>
#include <list>
#include <complex>
Include dependency graph for kl_matrix.h:
This graph shows which files directly or indirectly include this file:

Data Structures

class  klMatrix< TYPE >
 
class  klBinaryIO
 

Typedefs

typedef klSmartPtr< klMatrix
< double > > 
klDoubleMatrixPtr
 
typedef klSmartPtr< klMatrix
< complex< double > > > 
klComplexDoubleMatrixPtr
 
typedef klSmartPtr< klMatrix
< complex< float > > > 
klComplexFloatMatrixPtr
 
typedef klSmartPtr< klMatrix
< float > > 
klFloatMatrixPtr
 

Functions

klMatrix< double > mmBLAS (double alpha, klMatrix< double > a, klMatrix< double > b, double beta, klMatrix< double > c)
 
klMatrix< float > mmBLAS (float alpha, klMatrix< float > a, klMatrix< float > b, float beta, klMatrix< float > c)
 
klVector< double > mvpBLAS (double alpha, klMatrix< double > a, klVector< double > x, double beta, klVector< double > yi)
 
klVector< float > mvpBLAS (float alpha, klMatrix< float > a, klVector< float > x, float beta, klVector< float > yi)
 
template<class TYPE , class TYPE1 >
klVector< TYPE > klApplyFn (TYPE1(*f)(TYPE1), const klVector< TYPE > &c)
 
template<class TYPE , class TYPE1 >
klMatrix< TYPE > klApplyFn (TYPE1(*f)(TYPE1), const klMatrix< TYPE > &c)
 
template<class TYPE >
const klMatrix< TYPE > operator+ (const klMatrix< TYPE > &c1, const klMatrix< TYPE > &c2)
 
template<class TYPE >
const klMatrix< TYPE > operator+ (const klMatrix< TYPE > &c1, TYPE c2)
 
template<class TYPE >
const klMatrix< TYPE > operator+ (TYPE c1, const klMatrix< TYPE > &c2)
 
template<class TYPE >
const klMatrix< TYPE > operator- (const klMatrix< TYPE > &c1, const klMatrix< TYPE > &c2)
 
template<class TYPE >
const klMatrix< TYPE > operator- (const klMatrix< TYPE > &c2, TYPE c1)
 
template<class TYPE >
const klMatrix< TYPE > operator- (TYPE c1, const klMatrix< TYPE > &c2)
 
template<class TYPE >
const klMatrix< TYPE > operator- (const klMatrix< TYPE > &c)
 
template<class TYPE >
const klMatrix< TYPE > operator/ (const klMatrix< TYPE > &c1, TYPE c2)
 
template<class TYPE >
const klMatrix< TYPE > operator/ (TYPE c2, const klMatrix< TYPE > &c1)
 
template<class TYPE >
const klMatrix< TYPE > operator/ (klMatrix< TYPE > &c1, const klMatrix< TYPE > &c2)
 
template<class TYPE >
const klMatrix< TYPE > operator* (const klMatrix< TYPE > &c1, TYPE c2)
 
template<class TYPE >
const klMatrix< TYPE > operator* (TYPE c2, const klMatrix< TYPE > &c1)
 
template<class TYPE >
const klVector< TYPE > klMatrixToLower (const klMatrix< TYPE > &c)
 
template<class TYPE >
klMatrix< TYPE > diag (klVector< TYPE > c)
 
void minV (const klMatrix< double > &X, klVector< double > &minVals, bool rowMins=1)
 
void maxV (const klMatrix< double > &X, klVector< double > &maxVals, bool rowMins=1)
 
template<class TYPE >
static ostream & operator<< (ostream &str, const klMatrix< TYPE > &v)
 
template<class TYPE >
static istream & operator>> (istream &c, klMatrix< TYPE > &v)
 

Typedef Documentation

typedef klSmartPtr<klMatrix<complex<double> > > klComplexDoubleMatrixPtr
typedef klSmartPtr<klMatrix<complex<float> > > klComplexFloatMatrixPtr

Function Documentation

template<class TYPE >
klMatrix<TYPE> diag ( klVector< TYPE >  c)

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE , class TYPE1 >
klVector<TYPE> klApplyFn ( TYPE1(*)(TYPE1)  f,
const klVector< TYPE > &  c 
)

Here is the call graph for this function:

template<class TYPE , class TYPE1 >
klMatrix<TYPE> klApplyFn ( TYPE1(*)(TYPE1)  f,
const klMatrix< TYPE > &  c 
)

Here is the call graph for this function:

template<class TYPE >
const klVector<TYPE> klMatrixToLower ( const klMatrix< TYPE > &  c)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void maxV ( const klMatrix< double > &  X,
klVector< double > &  maxVals,
bool  rowMins = 1 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void minV ( const klMatrix< double > &  X,
klVector< double > &  minVals,
bool  rowMins = 1 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

klMatrix<double> mmBLAS ( double  alpha,
klMatrix< double >  a,
klMatrix< double >  b,
double  beta,
klMatrix< double >  c 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

klMatrix<float> mmBLAS ( float  alpha,
klMatrix< float >  a,
klMatrix< float >  b,
float  beta,
klMatrix< float >  c 
)
inline

Here is the call graph for this function:

klVector<double> mvpBLAS ( double  alpha,
klMatrix< double >  a,
klVector< double >  x,
double  beta,
klVector< double >  yi 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

klVector<float> mvpBLAS ( float  alpha,
klMatrix< float >  a,
klVector< float >  x,
float  beta,
klVector< float >  yi 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator* ( const klMatrix< TYPE > &  c1,
TYPE  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator* ( TYPE  c2,
const klMatrix< TYPE > &  c1 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator+ ( const klMatrix< TYPE > &  c1,
const klMatrix< TYPE > &  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator+ ( const klMatrix< TYPE > &  c1,
TYPE  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator+ ( TYPE  c1,
const klMatrix< TYPE > &  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator- ( const klMatrix< TYPE > &  c1,
const klMatrix< TYPE > &  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator- ( const klMatrix< TYPE > &  c2,
TYPE  c1 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator- ( TYPE  c1,
const klMatrix< TYPE > &  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator- ( const klMatrix< TYPE > &  c)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator/ ( const klMatrix< TYPE > &  c1,
TYPE  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator/ ( TYPE  c2,
const klMatrix< TYPE > &  c1 
)
inline

Here is the call graph for this function:

template<class TYPE >
const klMatrix<TYPE> operator/ ( klMatrix< TYPE > &  c1,
const klMatrix< TYPE > &  c2 
)
inline

Here is the call graph for this function:

template<class TYPE >
static ostream& operator<< ( ostream &  str,
const klMatrix< TYPE > &  v 
)
static

Here is the call graph for this function:

template<class TYPE >
static istream& operator>> ( istream &  c,
klMatrix< TYPE > &  v 
)
inlinestatic

Here is the call graph for this function: