Test a General Size Matrix (original) (raw)

Functions
Gan_Bool gan_mat_is_zero (Gan_Matrix *A)
Checks whether a matrix is zero.
Gan_Bool gan_mat_same_dims (const Gan_Matrix *A, const Gan_Matrix *B)
Macro: Checks that two matrices have the same number of rows and columns.
Gan_Bool gan_mat_test_dims (const Gan_Matrix *A, unsigned long rows, unsigned long cols)
Macro: Test dimensions of generic matrix.
Gan_Bool gan_squmat_same_type (const Gan_SquMatrix *A, const Gan_SquMatrix *B)
Macro: Checks that two square matrices have the same type.
Gan_Bool gan_squmat_same_size (const Gan_SquMatrix *A, const Gan_SquMatrix *B)
Macro: Checks that two square matrices have the same size.
Gan_Bool gan_squmat_same_type_size (const Gan_SquMatrix *A, const Gan_SquMatrix *B)
Macro: Checks that two square matrices have the same type and size.
Gan_Bool gan_squmat_test_size (const Gan_Matrix *A, unsigned long size)
Macro: Test size of square matrix.
Gan_Bool gan_squmat_symmetric_type (const Gan_SquMatrix *A)
Macro: Test whether square matrix has symmetric type.
Gan_Bool gan_squmat_diagonal_type (const Gan_SquMatrix *A)
Macro: Test whether square matrix has diagonal type.
Gan_Bool gan_squmat_symmetric (const Gan_SquMatrix *A)
Macro: Test whether square matrix is symmetric.
Gan_Bool gan_squmat_diagonal (const Gan_SquMatrix *A)
Macro: Test whether square matrix is diagonal.
Gan_Bool gan_matf_is_zero (Gan_Matrix_f *A)
Checks whether a matrix is zero.
Gan_Bool gan_matf_same_dims (const Gan_Matrix_f *A, const Gan_Matrix_f *B)
Macro: Checks that two matrices have the same number of rows and columns.
Gan_Bool gan_matf_test_dims (const Gan_Matrix_f *A, unsigned long rows, unsigned long cols)
Macro: Test dimensions of generic matrix.
Gan_Bool gan_squmatf_same_type (const Gan_SquMatrix_f *A, const Gan_SquMatrix_f *B)
Macro: Checks that two square matrices have the same type.
Gan_Bool gan_squmatf_same_size (const Gan_SquMatrix_f *A, const Gan_SquMatrix_f *B)
Macro: Checks that two square matrices have the same size.
Gan_Bool gan_squmatf_same_type_size (const Gan_SquMatrix_f *A, const Gan_SquMatrix_f *B)
Macro: Checks that two square matrices have the same type and size.
Gan_Bool gan_squmatf_test_size (const Gan_Matrix_f *A, unsigned long size)
Macro: Test size of square matrix.
Gan_Bool gan_squmatf_symmetric_type (const Gan_SquMatrix_f *A)
Macro: Test whether square matrix has symmetric type.
Gan_Bool gan_squmatf_diagonal_type (const Gan_SquMatrix_f *A)
Macro: Test whether square matrix has diagonal type.
Gan_Bool gan_squmatf_symmetric (const Gan_SquMatrix_f *A)
Macro: Test whether square matrix is symmetric.
Gan_Bool gan_squmatf_diagonal (const Gan_SquMatrix_f *A)
Macro: Test whether square matrix is diagonal.

Function Documentation

| | Checks whether a matrix is zero. **Returns:**Returns GAN_TRUE if all the elements of A are zero, GAN_FALSE otherwise | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two matrices have the same number of rows and columns. Checks that two matrices have the same number of rows and columns.Returns GAN_TRUE if A and B have the same dimensions, GAN_FALSE otherwise. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Gan_Bool gan_mat_test_dims ( const Gan_Matrix * A,
unsigned long rows,
unsigned long cols
)

| | Macro: Test dimensions of generic matrix. Returns GAN_TRUE if generic matrix A has dimensions rows by cols, GAN_FALSE otherwise. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Checks whether a matrix is zero. **Returns:**Returns GAN_TRUE if all the elements of A are zero, GAN_FALSE otherwise | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two matrices have the same number of rows and columns. Checks that two matrices have the same number of rows and columns.Returns GAN_TRUE if A and B have the same dimensions, GAN_FALSE otherwise. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Test dimensions of generic matrix. Returns GAN_TRUE if generic matrix A has dimensions rows by cols, GAN_FALSE otherwise. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two square matrices have the same size. Returns GAN_TRUE if A and B have the same size, GAN_FALSE otherwise. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two square matrices have the same type. Returns GAN_TRUE if A and B have the same type, GAN_FALSE otherwise. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two square matrices have the same type and size. Returns GAN_TRUE if A and B have the same type and size, GAN_FALSE otherwise. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Test size of square matrix. Returns GAN_TRUE if square matrix A has given size, GAN_FALSE otherwise. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two square matrices have the same size. Returns GAN_TRUE if A and B have the same size, GAN_FALSE otherwise. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two square matrices have the same type. Returns GAN_TRUE if A and B have the same type, GAN_FALSE otherwise. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Checks that two square matrices have the same type and size. Returns GAN_TRUE if A and B have the same type and size, GAN_FALSE otherwise. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Test size of square matrix. Returns GAN_TRUE if square matrix A has given size, GAN_FALSE otherwise. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |


Generated on Fri Mar 17 12:44:58 2006 by doxygen 1.3.9.1