Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

matrix_svd.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl/numerical.h>

Include dependency graph for matrix_svd.c:

Include dependency graph

Go to the source code of this file.

Defines

#define MAX_ITERATIONS   30
#define PYTHAG(a, b)
#define TAKE_SIGN(a, b)   ((b) >= 0.0 ? fabs(a) : -fabs(a))

Functions

public BOOLEAN singular_value_decomposition (int m, int n, Real **a, Real w[], Real **v)


Define Documentation

#define MAX_ITERATIONS   30
 

Definition at line 22 of file matrix_svd.c.

Referenced by singular_value_decomposition().

#define PYTHAG a,
 ) 
 

Value:

((at=fabs(a)) > (bt=fabs(b)) ? \ (ct=bt/at,at*sqrt(1.0+ct*ct)) : (bt ? (ct=at/bt,bt*sqrt(1.0+ct*ct)): 0.0))

Definition at line 24 of file matrix_svd.c.

Referenced by singular_value_decomposition().

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

Definition at line 27 of file matrix_svd.c.

Referenced by singular_value_decomposition().


Function Documentation

public BOOLEAN singular_value_decomposition int  m,
int  n,
Real **  a,
Real  w[],
Real **  v
 

Definition at line 46 of file matrix_svd.c.

References FALSE, MAX_ITERATIONS, PYTHAG, TAKE_SIGN, TRUE, and y.

Referenced by procrustes().


Generated on Wed Jul 28 09:11:10 2004 for BICPL by doxygen 1.3.7