Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

base/SVD.cpp File Reference

#include <base/SVD>
#include <base/Math>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

Include dependency graph for SVD.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define NR_END   1
#define FREE_ARG   char*
#define SIGN(a, b)   ((b) >= 0.0 ? fabs(a) : -fabs(a))

Functions

float FMIN (float a, float b)
float FMAX (float a, float b)
int IMIN (int a, int b)
int IMAX (int a, int b)
float SQR (float a)
void nrerror (char error_text[])
float * vector (long nl, long nh)
void free_matrix (float **m, long nrl, long nrh, long ncl, long nch)
void free_vector (float *v, long nl, long nh)
float ** matrix (long nrl, long nrh, long ncl, long nch)
float pythag (float a, float b)
void svdcmp (float **a, int m, int n, float w[], float **v)


Define Documentation

#define FREE_ARG   char*
 

Definition at line 70 of file SVD.cpp.

Referenced by free_matrix(), and free_vector().

#define NR_END   1
 

Definition at line 69 of file SVD.cpp.

Referenced by free_matrix(), free_vector(), matrix(), and vector().

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

Definition at line 73 of file SVD.cpp.

Referenced by svdcmp().


Function Documentation

float FMAX float  a,
float  b
[inline]
 

Definition at line 51 of file SVD.cpp.

float FMIN float  a,
float  b
[inline]
 

Definition at line 50 of file SVD.cpp.

void free_matrix float **  m,
long  nrl,
long  nrh,
long  ncl,
long  nch
 

Definition at line 87 of file SVD.cpp.

References FREE_ARG, and NR_END.

void free_vector float *  v,
long  nl,
long  nh
 

Definition at line 96 of file SVD.cpp.

References FREE_ARG, and NR_END.

int IMAX int  a,
int  b
[inline]
 

Definition at line 53 of file SVD.cpp.

int IMIN int  a,
int  b
[inline]
 

Definition at line 52 of file SVD.cpp.

float** matrix long  nrl,
long  nrh,
long  ncl,
long  nch
 

Definition at line 104 of file SVD.cpp.

References NR_END, and nrerror().

void nrerror char  error_text[]  )  [inline]
 

Definition at line 58 of file SVD.cpp.

References Exception.

float pythag float  a,
float  b
 

Definition at line 129 of file SVD.cpp.

References SQR.

Referenced by svdcmp().

float SQR float  a  )  [inline]
 

Definition at line 55 of file SVD.cpp.

void svdcmp float **  a,
int  m,
int  n,
float  w[],
float **  v
 

Definition at line 144 of file SVD.cpp.

References f, FMAX, free_matrix(), free_vector(), IMIN, matrix(), nrerror(), pythag(), SIGN, and vector().

float* vector long  nl,
long  nh
 

Definition at line 77 of file SVD.cpp.

References NR_END, and nrerror().


Generated on Thu Jul 29 16:20:46 2004 for OpenSim by doxygen 1.3.6