Loading...
Searching...
No Matches
boostmacros.hh File Reference
#include "boost/version.hpp"
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/stringize.hpp>
#include "boost/numeric/bindings/traits/ublas_matrix.hpp"
#include "boost/numeric/bindings/traits/std_vector.hpp"
#include "boost/numeric/ublas/matrix_proxy.hpp"
#include "boost/numeric/ublas/matrix.hpp"
#include "boost/numeric/ublas/io.hpp"
#include "boost/numeric/ublas/operation.hpp"
#include "boost/numeric/ublas/vector.hpp"
#include "boost/numeric/ublas/vector_proxy.hpp"
#include "boost/numeric/ublas/triangular.hpp"
#include "boost/numeric/ublas/lu.hpp"
#include <cstdio>
#include "boost/numeric/bindings/lapack/gesvd.hpp"
Include dependency graph for boostmacros.hh:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  maal
 Compehensive namespace of the second version of the MAAL.
 
namespace  maal::boost
 

Macros

#define MRAWDATA(x)   traits::matrix_storage(x)
 
#define VRAWDATA(x)   traits::vector_storage(x)
 
#define ML_NOT_IMPLEMENTED(a)
 
#define MAAL_CHECKVERBOSE(b)
 

Typedefs

typedef double maal::boost::FloatType
 Native type of the Matrix and Vector classes. More...
 

Enumerations

enum  maal::boost::DisplayType {
  maal::boost::SIMPLE ,
  maal::boost::COMPLET ,
  maal::boost::CPP ,
  maal::boost::MATLAB
}
 Option of display for the matrix and vector output (cout<<). More...
 

Functions

void dgesvd_ (char const *jobu, char const *jobvt, int const *m, int const *n, double *a, int const *lda, double *s, double *u, int const *ldu, double *vt, int const *ldvt, double *work, int const *lwork, int *info)
 
DisplayType maal::boost::setDisplayType (const DisplayType type, const bool read=false)
 Modify the display type. More...
 
DisplayType maal::boost::getDisplayType (void)
 Get the current display type. More...
 
std::ostream & maal::boost::operator<< (std::ostream &os, DisplayType disp)
 The second solution is to pass the DisplayType directly to the ouput operator: cout << DisplayType. More...
 

Macro Definition Documentation

◆ MAAL_CHECKVERBOSE

#define MAAL_CHECKVERBOSE (   b)
Value:
if( !b ) { \
fprintf( stderr,"!! %s(#%d)\tError in check size for matrix lib.\n", \
__FUNCTION__,__LINE__); fflush(stderr); \
}

◆ ML_NOT_IMPLEMENTED

#define ML_NOT_IMPLEMENTED (   a)
Value:
do { \
fprintf( stderr,"Not implemented yet.\n" ); fflush(stderr); \
} while( 0 ); return a;

◆ MRAWDATA

#define MRAWDATA (   x)    traits::matrix_storage(x)

◆ VRAWDATA

#define VRAWDATA (   x)    traits::vector_storage(x)

Function Documentation

◆ dgesvd_()

void dgesvd_ ( char const *  jobu,
char const *  jobvt,
int const *  m,
int const *  n,
double *  a,
int const *  lda,
double *  s,
double *  u,
int const *  ldu,
double *  vt,
int const *  ldvt,
double *  work,
int const *  lwork,
int *  info 
)