#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"
Namespaces | |
namespace | maal |
Compehensive namespace of the second version of the MAAL. | |
namespace | maal::boost |
Defines | |
#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. | |
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. | |
DisplayType | maal::boost::getDisplayType (void) |
Get the current display type. | |
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. |
#define MAAL_CHECKVERBOSE | ( | b | ) |
if( !b ) { \ fprintf( stderr,"!! %s(#%d)\tError in check size for matrix lib.\n", \ __FUNCTION__,__LINE__); fflush(stderr); \ }
Referenced by maal::boost::Vector::addition(), maal::boost::Matrix::addition(), maal::boost::Vector::crossProduct(), maal::boost::Vector::elementAt(), maal::boost::Matrix::elementAt(), maal::boost::Vector::extract(), maal::boost::Matrix::extract(), maal::boost::Vector::multiply(), maal::boost::Matrix::multiply(), maal::boost::Vector::substraction(), and maal::boost::Matrix::substraction().
#define ML_NOT_IMPLEMENTED | ( | a | ) |
do { \ fprintf( stderr,"Not implemented yet.\n" ); fflush(stderr); \ } while( 0 ); return a;
Referenced by maal::boost::Matrix::juxtaposeMatrix(), maal::boost::Vector::max(), maal::boost::Matrix::max(), maal::boost::Vector::min(), maal::boost::Matrix::min(), maal::boost::Matrix::norm(), maal::boost::Matrix::stackMatrix(), maal::boost::Vector::sumSquare(), and maal::boost::Matrix::sumSquare().
#define MRAWDATA | ( | x | ) | traits::matrix_storage(x) |
#define VRAWDATA | ( | x | ) | traits::vector_storage(x) |
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 | ||
) |