Namespaces | Defines | 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

namespace  rpp

Defines

#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

Define 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)))

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 May 29 2016 02:50:12