CEDRIC  Revision_backup-2009-02
Classes | Macros
SVD.h File Reference
#include <algorithm>
#include <vector>
#include <math.h>
#include <assert.h>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <iostream>

Go to the source code of this file.

Classes

class  SVD< ValueType >
 Compute Singular Value Decomposition, Wrapper for super-old Numerical Recipes code. More...
 

Macros

#define FMAX(a, b)
 
#define IMIN(a, b)
 
#define SIGN(a, b)   ((b) >= 0.0 ? fabs(a) : -fabs(a))
 
#define SQR(a)   ((sqrarg=(a)) == 0.0 ? 0.0 : sqrarg*sqrarg)
 

Macro Definition Documentation

#define FMAX (   a,
  b 
)
Value:
(maxarg1=(a),maxarg2=(b),(maxarg1) > (maxarg2) ?\
(maxarg1) : (maxarg2))

Referenced by SVD< ValueType >::svdcmp().

#define IMIN (   a,
  b 
)
Value:
(iminarg1=(a),iminarg2=(b),(iminarg1) < (iminarg2) ?\
(iminarg1) : (iminarg2))

Referenced by SVD< ValueType >::svdcmp().

#define SIGN (   a,
  b 
)    ((b) >= 0.0 ? fabs(a) : -fabs(a))
#define SQR (   a)    ((sqrarg=(a)) == 0.0 ? 0.0 : sqrarg*sqrarg)