Main Page   Modules   Compound List   File List   Compound Members   File Members  

Access an Element of a General Size Matrix
[General Size Matrices]


Functions

Gan_Bool gan_mat_set_el (Gan_Matrix *A, unsigned i, unsigned j, double value)
 Macro: Set specific element of matrix.

double gan_mat_get_el (Gan_Matrix *A, unsigned i, unsigned j)
 Macro: Get specific element of matrix.

Gan_Bool gan_mat_inc_el (Gan_Matrix *A, unsigned i, unsigned j, double value)
 Macro: Increment specific element of matrix by given value.

Gan_Bool gan_mat_dec_el (Gan_Matrix *A, unsigned i, unsigned j, double value)
 Macro: Decrement specific element of matrix by given value.

Gan_Bool gan_squmat_set_el (Gan_SquMatrix *A, unsigned row, unsigned col, double value)
 Macro: Set specific element of square matrix.

double gan_squmat_get_el (Gan_SquMatrix *A, unsigned row, unsigned col)
 Macro: Get specific element of square matrix.

Gan_Bool gan_squmat_inc_el (Gan_SquMatrix *A, unsigned row, unsigned col, double value)
 Macro: Increment specific element of square matrix by given value.

Gan_Bool gan_squmat_dec_el (Gan_SquMatrix *A, unsigned row, unsigned col, double value)
 Macro: Decrement specific element of square matrix by given value.

Gan_Bool gan_matf_set_el (Gan_Matrix_f *A, unsigned i, unsigned j, float value)
 Macro: Set specific element of matrix.

float gan_matf_get_el (Gan_Matrix_f *A, unsigned i, unsigned j)
 Macro: Get specific element of matrix.

Gan_Bool gan_matf_inc_el (Gan_Matrix_f *A, unsigned i, unsigned j, float value)
 Macro: Increment specific element of matrix by given value.

Gan_Bool gan_matf_dec_el (Gan_Matrix_f *A, unsigned i, unsigned j, float value)
 Macro: Decrement specific element of matrix by given value.

Gan_Bool gan_squmatf_set_el (Gan_SquMatrix_f *A, unsigned row, unsigned col, float value)
 Macro: Set specific element of square matrix.

float gan_squmatf_get_el (Gan_SquMatrix_f *A, unsigned row, unsigned col)
 Macro: Get specific element of square matrix.

Gan_Bool gan_squmatf_inc_el (Gan_SquMatrix_f *A, unsigned row, unsigned col, float value)
 Macro: Increment specific element of square matrix by given value.

Gan_Bool gan_squmatf_dec_el (Gan_SquMatrix_f *A, unsigned row, unsigned col, float value)
 Macro: Decrement specific element of square matrix by given value.


Function Documentation

Gan_Bool gan_mat_dec_el Gan_Matrix   A,
unsigned    i,
unsigned    j,
double    value
 

Macro: Decrement specific element of matrix by given value.

Decrement element i,j of generic matrix by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

double gan_mat_get_el Gan_Matrix   A,
unsigned    i,
unsigned    j
 

Macro: Get specific element of matrix.

Return element i,j of generic matrix, or DBL_MAX on failure.

Gan_Bool gan_mat_inc_el Gan_Matrix   A,
unsigned    i,
unsigned    j,
double    value
 

Macro: Increment specific element of matrix by given value.

Increment element i,j of generic matrix by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_mat_set_el Gan_Matrix   A,
unsigned    i,
unsigned    j,
double    value
 

Macro: Set specific element of matrix.

Macro to set element i,j of generic matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_matf_dec_el Gan_Matrix_f   A,
unsigned    i,
unsigned    j,
float    value
 

Macro: Decrement specific element of matrix by given value.

Decrement element i,j of generic matrix by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

float gan_matf_get_el Gan_Matrix_f   A,
unsigned    i,
unsigned    j
 

Macro: Get specific element of matrix.

Return element i,j of generic matrix, or FLT_MAX on failure.

Gan_Bool gan_matf_inc_el Gan_Matrix_f   A,
unsigned    i,
unsigned    j,
float    value
 

Macro: Increment specific element of matrix by given value.

Increment element i,j of generic matrix by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_matf_set_el Gan_Matrix_f   A,
unsigned    i,
unsigned    j,
float    value
 

Macro: Set specific element of matrix.

Macro to set element i,j of generic matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_squmat_dec_el Gan_SquMatrix   A,
unsigned    row,
unsigned    col,
double    value
 

Macro: Decrement specific element of square matrix by given value.

Decrement element row,col of square matrix A by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

double gan_squmat_get_el Gan_SquMatrix   A,
unsigned    row,
unsigned    col
 

Macro: Get specific element of square matrix.

Returns element row,col of square matrix A, or DBL_MAX on failure.

Gan_Bool gan_squmat_inc_el Gan_SquMatrix   A,
unsigned    row,
unsigned    col,
double    value
 

Macro: Increment specific element of square matrix by given value.

Increment element row,col of square matrix A by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_squmat_set_el Gan_SquMatrix   A,
unsigned    row,
unsigned    col,
double    value
 

Macro: Set specific element of square matrix.

Sets element row,col of square matrix A to given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_squmatf_dec_el Gan_SquMatrix_f   A,
unsigned    row,
unsigned    col,
float    value
 

Macro: Decrement specific element of square matrix by given value.

Decrement element row,col of square matrix A by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

float gan_squmatf_get_el Gan_SquMatrix_f   A,
unsigned    row,
unsigned    col
 

Macro: Get specific element of square matrix.

Returns element row,col of square matrix A, or FLT_MAX on failure.

Gan_Bool gan_squmatf_inc_el Gan_SquMatrix_f   A,
unsigned    row,
unsigned    col,
float    value
 

Macro: Increment specific element of square matrix by given value.

Increment element row,col of square matrix A by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_squmatf_set_el Gan_SquMatrix_f   A,
unsigned    row,
unsigned    col,
float    value
 

Macro: Set specific element of square matrix.

Sets element row,col of square matrix A to given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.


Generated on Mon Oct 13 16:14:58 2003 by doxygen1.3-rc1