ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
matrix.c File Reference
#include <nemo.h>
#include "matrix.h"
Include dependency graph for matrix.c:

Macros

#define _use_p   1

Functions

double xrandom (double, double)
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, string ctype, string cunit)
Axis2 * new_axis1 (Axis2 *o)
void free_axis (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)

Variables

static char * matrix_version = "$Id: matrix.c,v 1.16 2003/05/09 05:00:31 pteuben Exp $"

Macro Definition Documentation

◆ _use_p

#define _use_p   1

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_axis()

void free_axis ( Axis2 * a)

◆ 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,
string ctype,
string cunit )

◆ new_axis1()

Axis2 * new_axis1 ( Axis2 * o)
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:

◆ 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:

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

◆ xrandom()

double xrandom ( double ,
double  )
extern
Here is the caller graph for this function:

◆ zero_matrix()

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

Variable Documentation

◆ matrix_version

char* matrix_version = "$Id: matrix.c,v 1.16 2003/05/09 05:00:31 pteuben Exp $"
static