ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
matrix.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _axis
struct  _vector
struct  _matrix

Typedefs

typedef struct _axis Axis2
typedef struct _vector Vector
typedef struct _matrix Matrix

Functions

int svdcmp (double u[], double w[], double v[], const double a[], int m, int n)
int svbksb (double x[], const double u[], const double w[], const double v[], const double b[], int m, int n, int p)
int svsolve (double x[], double wmin, double a[], const double b[], int m, int n, int p, int preserve)
int svinverse (double x[], double wmin, const double a[], int m, int n)
Matrix * allocate_matrix (int nr, int nc)
void reallocate_matrix (Matrix *m, int nr, int nc)
void free_matrix (Matrix *m)
Axis2 * new_axis (double crpix, double crval, double cdelt, char *ct, char *cu)
Axis2 * new_axis1 (Axis2 *a)
void check_matrix (const Matrix *m, int nr, int nc, const char *msg)
void zero_matrix (Matrix *z)
void random_matrix (Matrix *z)
void unit_matrix (Matrix *u)
Matrix * dup_matrix (const Matrix *a)
Matrix * add_matrix (const Matrix *a, const Matrix *b, Matrix *c)
void adds_matrix (Matrix *a, const double b)
Matrix * mul_matrix (const Matrix *a, const Matrix *b, Matrix *c)
Matrix * imul_matrix (const Matrix *a, const Matrix *b, Matrix *c)
void vmul_matrix (const double *v, const Matrix *a, double *b)
void muls_matrix (Matrix *a, const double b)
void print_matrix (const Matrix *a, const char *msg)
Matrix * transpose_matrix (const Matrix *a)
Matrix * laplace_matrix (const Matrix *a)
Matrix * bin_matrix (const Matrix *a, const int nbin, const int *bin0, const int *bin1)
double invert_matrix (Matrix *a)
void svd_matrix (const Matrix *a, Matrix *u, Matrix *v, Matrix *w)
void svd_solve (const Matrix *a, const Matrix *u, const Matrix *v, const Matrix *w, Matrix *b, Matrix *x)
Matrix * simple_image_read (const char *fname)
void simple_image_write (const char *fname, Matrix *a)

Typedef Documentation

◆ Axis2

typedef struct _axis Axis2

◆ Matrix

typedef struct _matrix Matrix

◆ Vector

typedef struct _vector Vector

Function Documentation

◆ add_matrix()

Matrix * add_matrix ( const Matrix * a,
const Matrix * b,
Matrix * c )
Here is the call graph for this function:

◆ adds_matrix()

void adds_matrix ( Matrix * a,
const double b )

◆ allocate_matrix()

Matrix * allocate_matrix ( int nr,
int nc )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bin_matrix()

Matrix * bin_matrix ( const Matrix * a,
const int nbin,
const int * bin0,
const int * bin1 )
Here is the call graph for this function:

◆ check_matrix()

void check_matrix ( const Matrix * m,
int nr,
int nc,
const char * msg )
Here is the caller graph for this function:

◆ dup_matrix()

Matrix * dup_matrix ( const Matrix * a)
Here is the call graph for this function:

◆ free_matrix()

void free_matrix ( Matrix * m)

◆ imul_matrix()

Matrix * imul_matrix ( const Matrix * a,
const Matrix * b,
Matrix * c )
Here is the call graph for this function:

◆ invert_matrix()

double invert_matrix ( Matrix * a)

◆ laplace_matrix()

Matrix * laplace_matrix ( const Matrix * a)
Here is the call graph for this function:

◆ mul_matrix()

Matrix * mul_matrix ( const Matrix * a,
const Matrix * b,
Matrix * c )
Here is the call graph for this function:

◆ muls_matrix()

void muls_matrix ( Matrix * a,
const double b )

◆ new_axis()

Axis2 * new_axis ( double crpix,
double crval,
double cdelt,
char * ct,
char * cu )

◆ new_axis1()

Axis2 * new_axis1 ( Axis2 * a)
Here is the caller graph for this function:

◆ print_matrix()

void print_matrix ( const Matrix * a,
const char * msg )
Here is the caller graph for this function:

◆ random_matrix()

void random_matrix ( Matrix * z)
Here is the call graph for this function:

◆ reallocate_matrix()

void reallocate_matrix ( Matrix * m,
int nr,
int nc )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ simple_image_read()

Matrix * simple_image_read ( const char * fname)

◆ simple_image_write()

void simple_image_write ( const char * fname,
Matrix * a )

◆ svbksb()

int svbksb ( double x[],
const double u[],
const double w[],
const double v[],
const double b[],
int m,
int n,
int p )
extern
Here is the caller graph for this function:

◆ svd_matrix()

void svd_matrix ( const Matrix * a,
Matrix * u,
Matrix * v,
Matrix * w )
Here is the call graph for this function:

◆ svd_solve()

void svd_solve ( const Matrix * a,
const Matrix * u,
const Matrix * v,
const Matrix * w,
Matrix * b,
Matrix * x )
Here is the call graph for this function:

◆ svdcmp()

int svdcmp ( double u[],
double w[],
double v[],
const double a[],
int m,
int n )
extern
Here is the caller graph for this function:

◆ svinverse()

int svinverse ( double x[],
double wmin,
const double a[],
int m,
int n )
extern

◆ svsolve()

int svsolve ( double x[],
double wmin,
double a[],
const double b[],
int m,
int n,
int p,
int preserve )
extern

◆ transpose_matrix()

Matrix * transpose_matrix ( const Matrix * a)
Here is the call graph for this function:

◆ unit_matrix()

void unit_matrix ( Matrix * u)
Here is the call graph for this function:

◆ vmul_matrix()

void vmul_matrix ( const double * v,
const Matrix * a,
double * b )

◆ zero_matrix()

void zero_matrix ( Matrix * z)
Here is the caller graph for this function: