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

Data Structures

class  klGlobalMemoryManager
 
class  klVector< TYPE >
 
class  klRCInt
 
class  klRCDouble
 
class  klRCString
 

Macros

#define MKL_Complex8   std::complex<float>
 
#define MKL_Complex16   std::complex<double>
 
#define klout(A)   ;
 

Typedefs

typedef klSmartPtr< klRCIntklIntPtr
 
typedef klSmartPtr< klRCDoubleklDoublePtr
 
typedef klSmartPtr< klRCStringklStringPtr
 
typedef klSmartPtr< klVector
< double > > 
klDoubleVectorPtr
 
typedef klSmartPtr< klVector
< complex< double > > > 
klComplexDoubleVectorPtr
 
typedef klSmartPtr< klVector
< complex< float > > > 
klComplexFloatVectorPtr
 
typedef klSmartPtr< klVector
< float > > 
klFloatVectorPtr
 

Functions

int mkl_eigs_select (double *x, double *y)
 
template<class TYPE >
klVector< TYPE > logReturns (klVector< TYPE > b)
 
template<class TYPE >
static ostream & operator<< (ostream &str, const klVector< TYPE > &v)
 
template<class TYPE >
static istream & operator>> (istream &c, klVector< TYPE > &v)
 
template<class TYPE >
klVector< TYPE > operator+ (const klVector< TYPE > &v1, const klVector< TYPE > &v2)
 
template<class TYPE >
klVector< TYPE > operator+ (const klVector< TYPE > &v, const TYPE t)
 
template<class TYPE >
klVector< TYPE > operator+ (const TYPE t, const klVector< TYPE > &v)
 
template<class TYPE >
klVector< TYPE > operator- (const klVector< TYPE > &v1, const klVector< TYPE > &v2)
 
template<class TYPE >
klVector< TYPE > operator- (const klVector< TYPE > &v, const TYPE t)
 
template<class TYPE >
klVector< TYPE > operator- (const TYPE t, const klVector< TYPE > &v)
 
template<class TYPE >
klVector< TYPE > operator- (const klVector< TYPE > &v)
 
template<class TYPE >
klVector< TYPE > operator* (const klVector< TYPE > &v, const TYPE t)
 
template<class TYPE >
klVector< TYPE > operator* (const TYPE t, const klVector< TYPE > &v)
 
template<class TYPE >
klVector< TYPE > operator* (const klVector< TYPE > &v1, const klVector< TYPE > &v2)
 
template<class TYPE >
klVector< TYPE > operator/ (const klVector< TYPE > &v1, const klVector< TYPE > &v2)
 
template<class TYPE >
klVector< TYPE > operator/ (const klVector< TYPE > &v, const TYPE t)
 
template<class TYPE >
klVector< TYPE > operator/ (const TYPE t, const klVector< TYPE > &v)
 
template<class TYPE >
klVector< TYPE > RE (klVector< complex< TYPE > > vec)
 
template<class TYPE >
klVector< TYPE > IM (klVector< complex< TYPE > > vec)
 
klVector< complex< double > > klApplyLog (const klVector< complex< double > > &c)
 

Macro Definition Documentation

#define klout (   A)    ;
#define MKL_Complex16   std::complex<double>
#define MKL_Complex8   std::complex<float>

Typedef Documentation

typedef klSmartPtr<klVector<complex<double> > > klComplexDoubleVectorPtr
typedef klSmartPtr<klVector<complex<float> > > klComplexFloatVectorPtr

Function Documentation

template<class TYPE >
klVector<TYPE> IM ( klVector< complex< TYPE > >  vec)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

klVector<complex<double> > klApplyLog ( const klVector< complex< double > > &  c)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<class TYPE >
klVector<TYPE> logReturns ( klVector< TYPE >  b)

Here is the call graph for this function:

int mkl_eigs_select ( double *  x,
double *  y 
)
inline

Here is the caller graph for this function:

template<class TYPE >
klVector<TYPE> operator* ( const klVector< TYPE > &  v,
const TYPE  t 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator* ( const TYPE  t,
const klVector< TYPE > &  v 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator* ( const klVector< TYPE > &  v1,
const klVector< TYPE > &  v2 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator+ ( const klVector< TYPE > &  v1,
const klVector< TYPE > &  v2 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator+ ( const klVector< TYPE > &  v,
const TYPE  t 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator+ ( const TYPE  t,
const klVector< TYPE > &  v 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator- ( const klVector< TYPE > &  v1,
const klVector< TYPE > &  v2 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator- ( const klVector< TYPE > &  v,
const TYPE  t 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator- ( const TYPE  t,
const klVector< TYPE > &  v 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator- ( const klVector< TYPE > &  v)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator/ ( const klVector< TYPE > &  v1,
const klVector< TYPE > &  v2 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator/ ( const klVector< TYPE > &  v,
const TYPE  t 
)

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> operator/ ( const TYPE  t,
const klVector< TYPE > &  v 
)

Here is the call graph for this function:

template<class TYPE >
static ostream& operator<< ( ostream &  str,
const klVector< TYPE > &  v 
)
static
template<class TYPE >
static istream& operator>> ( istream &  c,
klVector< TYPE > &  v 
)
inlinestatic

Here is the call graph for this function:

template<class TYPE >
klVector<TYPE> RE ( klVector< complex< TYPE > >  vec)
inline

Here is the call graph for this function:

Here is the caller graph for this function: