Namespaces | Macros | Typedefs | Functions | Variables
rpp_svd.cpp File Reference
#include <math.h>
#include <assert.h>
#include "rpp_types.h"
Include dependency graph for rpp_svd.cpp:

Go to the source code of this file.

Namespaces

 rpp
 

Macros

#define MAX(a, b)   (maxarg1=(a),maxarg2=(b),(maxarg1) > (maxarg2) ? (maxarg1) : (maxarg2))
 
#define PYTHAG(a, b)
 
#define SIGN(a, b)   ((b) >= SVD_FLOAT(0.0f) ? fabs(a) : -fabs(a))
 

Typedefs

typedef double rpp::SVD_FLOAT
 

Functions

int rpp::svdcmp (double **a, int m, int n, double *w, double **v)
 

Variables

static SVD_FLOAT rpp::at
 
static SVD_FLOAT rpp::bt
 
static SVD_FLOAT rpp::ct
 
static SVD_FLOAT rpp::maxarg1
 
static SVD_FLOAT rpp::maxarg2
 

Macro Definition Documentation

#define MAX (   a,
 
)    (maxarg1=(a),maxarg2=(b),(maxarg1) > (maxarg2) ? (maxarg1) : (maxarg2))

Definition at line 56 of file rpp_svd.cpp.

#define PYTHAG (   a,
 
)
Value:
((at=fabs(a)) > (bt=fabs(b)) ? \
(ct=bt/at,at*sqrt(SVD_FLOAT(1.0f)+ct*ct)) : (bt ? (ct=at/bt,bt*sqrt(SVD_FLOAT(1.0f)+ct*ct)): SVD_FLOAT(0.0)))
static SVD_FLOAT bt
Definition: rpp_svd.cpp:50
double SVD_FLOAT
Definition: rpp_svd.cpp:47
static SVD_FLOAT at
Definition: rpp_svd.cpp:50
static SVD_FLOAT ct
Definition: rpp_svd.cpp:50

Definition at line 53 of file rpp_svd.cpp.

#define SIGN (   a,
 
)    ((b) >= SVD_FLOAT(0.0f) ? fabs(a) : -fabs(a))

Definition at line 58 of file rpp_svd.cpp.



tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33