Main Page   Modules   Compound List   File List   Compound Members   File Members  

Allocate/Free a General Size Matrix
[General Size Matrices]


Functions

Gan_SquMatrix * gan_diagmat_form_gen (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size)
Gan_SquMatrix * gan_diagmat_alloc (unsigned long size)
 Macro: Allocate and return a diagonal matrix.

Gan_SquMatrix * gan_diagmat_form (Gan_SquMatrix *A, unsigned long size)
 Macro: Form and return a diagonal matrix.

Gan_SquMatrix * gan_diagmat_form_data (Gan_SquMatrix *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a diagonal matrix.

Gan_Bool gan_mat_realloc_gen (Gan_Matrix *A, unsigned long rows, unsigned long cols)
void gan_mat_free (Gan_Matrix *A)
 Free a matrix.

Gan_Matrix * gan_mat_alloc (unsigned long rows, unsigned long cols)
 Macro: Allocate and return a generic matrix.

Gan_Matrix * gan_mat_form (Gan_Matrix *A, unsigned long rows, unsigned long cols)
 Macro: Form and return a generic matrix.

Gan_Matrix * gan_mat_form_data (Gan_Matrix *A, unsigned long rows, unsigned long cols, void *data, size_t data_size)
 Macro: Form and return a generic matrix.

Gan_SquMatrix * gan_scalImat_form_gen (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size)
Gan_SquMatrix * gan_scalImat_alloc (unsigned long size)
 Macro: Allocate and return a multiple of the identity matrix.

Gan_SquMatrix * gan_scalImat_form (Gan_SquMatrix *A, unsigned long size)
 Macro: Form and return a multiple of the identity matrix.

Gan_SquMatrix * gan_scalImat_form_data (Gan_SquMatrix *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a multiple of the identity matrix.

void gan_squmat_free (Gan_SquMatrix *A)
 Function to free square matrix.

void gan_squmat_free_va (Gan_SquMatrix *A,...)
 Free a NULL-terminated variable argument list of square matrices.

Gan_SquMatrix * gan_squmat_form_gen (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size, double *data, size_t data_size)
Gan_SquMatrix * gan_squmat_alloc (Gan_SquMatrixType type, unsigned long size)
 Macro: Allocate and return a square matrix.

Gan_SquMatrix * gan_squmat_form (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size)
 Macro: Form and return a square matrix.

Gan_SquMatrix * gan_squmat_form_data (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size, double *data, size_t data_size)
 Macro: Form and return a square symmetric matrix.

Gan_SquMatrix * gan_symmat_form_gen (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size)
Gan_SquMatrix * gan_symmat_alloc (unsigned long size)
 Macro: Allocate and return a square symmetric matrix.

Gan_SquMatrix * gan_symmat_form (Gan_SquMatrix *A, unsigned long size)
 Macro: Form and return a square symmetric matrix.

Gan_SquMatrix * gan_symmat_form_data (Gan_SquMatrix *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a square symmetric matrix.

Gan_SquMatrix * gan_ltmat_form_gen (Gan_SquMatrix *L, unsigned long size, double *data, size_t data_size)
Gan_SquMatrix * gan_utmat_form_gen (Gan_SquMatrix *U, unsigned long size, double *data, size_t data_size)
Gan_SquMatrix * gan_ltmat_alloc (unsigned long size)
 Macro: Allocate and return a lower triangular matrix.

Gan_SquMatrix * gan_ltmat_form (Gan_SquMatrix *A, unsigned long size)
 Macro: Form and return a lower triangular matrix.

Gan_SquMatrix * gan_ltmat_form_data (Gan_SquMatrix *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a square lower triangular matrix.

Gan_SquMatrix * gan_utmat_alloc (unsigned long size)
 Macro: Allocate and return a upper triangular matrix.

Gan_SquMatrix * gan_utmat_form (Gan_SquMatrix *A, unsigned long size)
 Macro: Form and return a upper triangular matrix.

Gan_SquMatrix * gan_utmat_form_data (Gan_SquMatrix *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a square upper triangular matrix.

Gan_SquMatrix_f * gan_diagmatf_form_gen (Gan_SquMatrix_f *A, unsigned long size, float *data, size_t data_size)
Gan_SquMatrix_f * gan_diagmatf_alloc (unsigned long size)
 Macro: Allocate and return a diagonal matrix.

Gan_SquMatrix_f * gan_diagmatf_form (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Form and return a diagonal matrix.

Gan_SquMatrix_f * gan_diagmatf_form_data (Gan_SquMatrix_f *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a diagonal matrix.

Gan_Bool gan_matf_realloc_gen (Gan_Matrix_f *A, unsigned long rows, unsigned long cols)
void gan_matf_free (Gan_Matrix_f *A)
 Free a matrix.

Gan_Matrix_f * gan_matf_alloc (unsigned long rows, unsigned long cols)
 Macro: Allocate and return a generic matrix.

Gan_Matrix_f * gan_matf_form (Gan_Matrix_f *A, unsigned long rows, unsigned long cols)
 Macro: Form and return a generic matrix.

Gan_Matrix_f * gan_matf_form_data (Gan_Matrix_f *A, unsigned long rows, unsigned long cols, void *data, size_t data_size)
 Macro: Form and return a generic matrix.

Gan_SquMatrix_f * gan_scalImatf_form_gen (Gan_SquMatrix_f *A, unsigned long size, float *data, size_t data_size)
Gan_SquMatrix_f * gan_scalImatf_alloc (unsigned long size)
 Macro: Allocate and return a multiple of the identity matrix.

Gan_SquMatrix_f * gan_scalImatf_form (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Form and return a multiple of the identity matrix.

Gan_SquMatrix_f * gan_scalImatf_form_data (Gan_SquMatrix_f *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a multiple of the identity matrix.

void gan_squmatf_free (Gan_SquMatrix_f *A)
 Function to free square matrix.

void gan_squmatf_free_va (Gan_SquMatrix_f *A,...)
 Free a NULL-terminated variable argument list of square matrices.

Gan_SquMatrix_f * gan_squmatf_form_gen (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size, float *data, size_t data_size)
Gan_SquMatrix_f * gan_squmatf_alloc (Gan_SquMatrixType type, unsigned long size)
 Macro: Allocate and return a square matrix.

Gan_SquMatrix_f * gan_squmatf_form (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size)
 Macro: Form and return a square matrix.

Gan_SquMatrix_f * gan_squmatf_form_data (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size, float *data, size_t data_size)
 Macro: Form and return a square symmetric matrix.

Gan_SquMatrix_f * gan_symmatf_form_gen (Gan_SquMatrix_f *A, unsigned long size, float *data, size_t data_size)
Gan_SquMatrix_f * gan_symmatf_alloc (unsigned long size)
 Macro: Allocate and return a square symmetric matrix.

Gan_SquMatrix_f * gan_symmatf_form (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Form and return a square symmetric matrix.

Gan_SquMatrix_f * gan_symmatf_form_data (Gan_SquMatrix_f *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a square symmetric matrix.

Gan_SquMatrix_f * gan_ltmatf_form_gen (Gan_SquMatrix_f *L, unsigned long size, float *data, size_t data_size)
Gan_SquMatrix_f * gan_utmatf_form_gen (Gan_SquMatrix_f *U, unsigned long size, float *data, size_t data_size)
Gan_SquMatrix_f * gan_ltmatf_alloc (unsigned long size)
 Macro: Allocate and return a lower triangular matrix.

Gan_SquMatrix_f * gan_ltmatf_form (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Form and return a lower triangular matrix.

Gan_SquMatrix_f * gan_ltmatf_form_data (Gan_SquMatrix_f *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a square lower triangular matrix.

Gan_SquMatrix_f * gan_utmatf_alloc (unsigned long size)
 Macro: Allocate and return a upper triangular matrix.

Gan_SquMatrix_f * gan_utmatf_form (Gan_SquMatrix_f *A, unsigned long size)
Gan_SquMatrix_f * gan_utmatf_form_data (Gan_SquMatrix_f *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a square upper triangular matrix.


Function Documentation

Gan_SquMatrix* gan_diagmat_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a diagonal matrix.

Allocates and returns a diagonal matrix with given size.

Implemented as a macro call to gan_diagmat_form_gen().

See also:
gan_diagmat_form().

Gan_SquMatrix* gan_diagmat_form (  Gan_SquMatrix *    A,
unsigned long    size
) 
 

Macro: Form and return a diagonal matrix.

Forms and returns a diagonal matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_diagmat_form_gen().

See also:
gan_diagmat_alloc().

Gan_SquMatrix* gan_diagmat_form_data (  Gan_SquMatrix *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a diagonal matrix.

Forms and returns a diagonal matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_diagmat_form_gen().

See also:
gan_diagmat_alloc() and gan_diagmat_form().

Gan_SquMatrix_f* gan_diagmatf_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a diagonal matrix.

Allocates and returns a diagonal matrix with given size.

Implemented as a macro call to gan_diagmatf_form_gen().

See also:
gan_diagmatf_form().

Gan_SquMatrix_f* gan_diagmatf_form (  Gan_SquMatrix_f *    A,
unsigned long    size
) 
 

Macro: Form and return a diagonal matrix.

Forms and returns a diagonal matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_diagmatf_form_gen().

See also:
gan_diagmatf_alloc().

Gan_SquMatrix_f* gan_diagmatf_form_data (  Gan_SquMatrix_f *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a diagonal matrix.

Forms and returns a diagonal matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_diagmatf_form_gen().

See also:
gan_diagmatf_alloc() and gan_diagmatf_form().

Gan_SquMatrix* gan_ltmat_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a lower triangular matrix.

Allocates and returns a lower triangular matrix with given size.

Implemented as a macro call to gan_ltmat_form_gen(). See also gan_ltmat_form().

Gan_SquMatrix* gan_ltmat_form (  Gan_SquMatrix *    A,
unsigned long    size
) 
 

Macro: Form and return a lower triangular matrix.

Forms and returns a lower triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_ltmat_form_gen().

See also:
gan_ltmat_alloc().

Gan_SquMatrix* gan_ltmat_form_data (  Gan_SquMatrix *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a square lower triangular matrix.

Forms and returns a square lower triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_ltmat_form_gen().

See also:
gan_ltmat_alloc() and gan_ltmat_form().

Gan_SquMatrix_f* gan_ltmatf_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a lower triangular matrix.

Allocates and returns a lower triangular matrix with given size.

Implemented as a macro call to gan_ltmatf_form_gen(). See also gan_ltmatf_form().

Gan_SquMatrix_f* gan_ltmatf_form (  Gan_SquMatrix_f *    A,
unsigned long    size
) 
 

Macro: Form and return a lower triangular matrix.

Forms and returns a lower triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_ltmatf_form_gen().

See also:
gan_ltmatf_alloc().

Gan_SquMatrix_f* gan_ltmatf_form_data (  Gan_SquMatrix_f *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a square lower triangular matrix.

Forms and returns a square lower triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_ltmatf_form_gen().

See also:
gan_ltmatf_alloc() and gan_ltmatf_form().

Gan_Matrix* gan_mat_alloc (  unsigned long    rows,
unsigned long    cols
) 
 

Macro: Allocate and return a generic matrix.

Allocates and returns a generic rectangular matrix with given dimensions.

Implemented as a macro call to gan_mat_form_gen().

See also:
gan_mat_form().

Gan_Matrix* gan_mat_form (  Gan_Matrix *    A,
unsigned long    rows,
unsigned long    cols
) 
 

Macro: Form and return a generic matrix.

Forms and returns a generic rectangular matrix with given dimensions. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_mat_form_gen().

See also:
gan_mat_alloc().

Gan_Matrix* gan_mat_form_data (  Gan_Matrix *    A,
unsigned long    rows,
unsigned long    cols,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a generic matrix.

Forms and returns a generic rectangular matrix with given dimensions. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated. Otherwise, data_size is the size of the data array in terms of double values.

Implemented as a macro call to gan_mat_form_gen().

See also:
gan_mat_alloc(), gan_mat_form().

void gan_mat_free (  Gan_Matrix *    A ) 
 

Free a matrix.

Free a generic rectangular matrix A.

Gan_Matrix_f* gan_matf_alloc (  unsigned long    rows,
unsigned long    cols
) 
 

Macro: Allocate and return a generic matrix.

Allocates and returns a generic rectangular matrix with given dimensions.

Implemented as a macro call to gan_matf_form_gen().

See also:
gan_matf_form().

Gan_Matrix_f* gan_matf_form (  Gan_Matrix_f *    A,
unsigned long    rows,
unsigned long    cols
) 
 

Macro: Form and return a generic matrix.

Forms and returns a generic rectangular matrix with given dimensions. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_matf_form_gen().

See also:
gan_matf_alloc().

Gan_Matrix_f* gan_matf_form_data (  Gan_Matrix_f *    A,
unsigned long    rows,
unsigned long    cols,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a generic matrix.

Forms and returns a generic rectangular matrix with given dimensions. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated. Otherwise, data_size is the size of the data array in terms of double values.

Implemented as a macro call to gan_matf_form_gen().

See also:
gan_matf_alloc(), gan_matf_form().

void gan_matf_free (  Gan_Matrix_f *    A ) 
 

Free a matrix.

Free a generic rectangular matrix A.

Gan_SquMatrix* gan_scalImat_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a multiple of the identity matrix.

Allocates and returns a multiple of the identity matrix with given size.

Implemented as a macro call to gan_scalImat_form_gen().

See also:
gan_scalImat_form().

Gan_SquMatrix* gan_scalImat_form (  Gan_SquMatrix *    A,
unsigned long    size
) 
 

Macro: Form and return a multiple of the identity matrix.

Forms and returns a multiple of the identity matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_scalImat_form_gen().

See also:
gan_scalImat_alloc().

Gan_SquMatrix* gan_scalImat_form_data (  Gan_SquMatrix *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a multiple of the identity matrix.

Forms and returns a multiple of the identity matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_scalImat_form_gen().

See also:
gan_scalImat_alloc() and gan_scalImat_form().

Gan_SquMatrix_f* gan_scalImatf_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a multiple of the identity matrix.

Allocates and returns a multiple of the identity matrix with given size.

Implemented as a macro call to gan_scalImatf_form_gen().

See also:
gan_scalImatf_form().

Gan_SquMatrix_f* gan_scalImatf_form (  Gan_SquMatrix_f *    A,
unsigned long    size
) 
 

Macro: Form and return a multiple of the identity matrix.

Forms and returns a multiple of the identity matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_scalImatf_form_gen().

See also:
gan_scalImatf_alloc().

Gan_SquMatrix_f* gan_scalImatf_form_data (  Gan_SquMatrix_f *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a multiple of the identity matrix.

Forms and returns a multiple of the identity matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_scalImatf_form_gen().

See also:
gan_scalImatf_alloc() and gan_scalImatf_form().

Gan_SquMatrix* gan_squmat_alloc (  Gan_SquMatrixType    type,
unsigned long    size
) 
 

Macro: Allocate and return a square matrix.

Allocates and returns a square matrix of given type and size.

Implemented as a macro call to gan_squmat_form_data().

See also:
gan_squmat_form().

Gan_SquMatrix* gan_squmat_form (  Gan_SquMatrix *    A,
Gan_SquMatrixType    type,
unsigned long    size
) 
 

Macro: Form and return a square matrix.

Forms and returns a square matrix with given type and size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_squmat_form_data().

See also:
gan_squmat_alloc().

Gan_SquMatrix* gan_squmat_form_data (  Gan_SquMatrix *    A,
Gan_SquMatrixType    type,
unsigned long    size,
double *    data,
size_t    data_size
) 
 

Macro: Form and return a square symmetric matrix.

Forms and returns a square symmetric matrix with given type and size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated. Otherwise, data_size is the size of the data array in terms of double values.

See also:
gan_squmat_alloc() and gan_squmat_form().

void gan_squmat_free (  Gan_SquMatrix *    A ) 
 

Function to free square matrix.

Returns:
No value.

void gan_squmat_free_va (  Gan_SquMatrix *    A,
...   
) 
 

Free a NULL-terminated variable argument list of square matrices.

Returns:
No value.
Free a NULL-terminated variable argument list of square matrices, starting with matrix A.

Gan_SquMatrix_f* gan_squmatf_alloc (  Gan_SquMatrixType    type,
unsigned long    size
) 
 

Macro: Allocate and return a square matrix.

Allocates and returns a square matrix of given type and size.

Implemented as a macro call to gan_squmatf_form_data().

See also:
gan_squmatf_form().

Gan_SquMatrix_f* gan_squmatf_form (  Gan_SquMatrix_f *    A,
Gan_SquMatrixType    type,
unsigned long    size
) 
 

Macro: Form and return a square matrix.

Forms and returns a square matrix with given type and size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_squmatf_form_data().

See also:
gan_squmatf_alloc().

Gan_SquMatrix_f* gan_squmatf_form_data (  Gan_SquMatrix_f *    A,
Gan_SquMatrixType    type,
unsigned long    size,
float *    data,
size_t    data_size
) 
 

Macro: Form and return a square symmetric matrix.

Forms and returns a square symmetric matrix with given type and size. If the A matrix pointer is non-NULL, the given matrix pointer is filled; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated. Otherwise, data_size is the size of the data array in terms of double values.

See also:
gan_squmatf_alloc() and gan_squmatf_form().

void gan_squmatf_free (  Gan_SquMatrix_f *    A ) 
 

Function to free square matrix.

Returns:
No value.

void gan_squmatf_free_va (  Gan_SquMatrix_f *    A,
...   
) 
 

Free a NULL-terminated variable argument list of square matrices.

Returns:
No value.
Free a NULL-terminated variable argument list of square matrices, starting with matrix A.

Gan_SquMatrix* gan_symmat_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a square symmetric matrix.

Allocates and returns a square symmetric matrix with given size.

Implemented as a macro call to gan_symmat_form_gen().

See also:
gan_symmat_form().

Gan_SquMatrix* gan_symmat_form (  Gan_SquMatrix *    A,
unsigned long    size
) 
 

Macro: Form and return a square symmetric matrix.

Forms and returns a square symmetric matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_symmat_form_gen().

See also:
gan_symmat_alloc().

Gan_SquMatrix* gan_symmat_form_data (  Gan_SquMatrix *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a square symmetric matrix.

Forms and returns a square symmetric matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_symmat_form_gen().

See also:
gan_symmat_alloc() and gan_symmat_form().

Gan_SquMatrix_f* gan_symmatf_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a square symmetric matrix.

Allocates and returns a square symmetric matrix with given size.

Implemented as a macro call to gan_symmatf_form_gen().

See also:
gan_symmatf_form().

Gan_SquMatrix_f* gan_symmatf_form (  Gan_SquMatrix_f *    A,
unsigned long    size
) 
 

Macro: Form and return a square symmetric matrix.

Forms and returns a square symmetric matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_symmatf_form_gen().

See also:
gan_symmatf_alloc().

Gan_SquMatrix_f* gan_symmatf_form_data (  Gan_SquMatrix_f *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a square symmetric matrix.

Forms and returns a square symmetric matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_symmatf_form_gen().

See also:
gan_symmatf_alloc() and gan_symmatf_form().

Gan_SquMatrix* gan_utmat_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a upper triangular matrix.

Allocates and returns a upper triangular matrix with given size.

Implemented as a macro call to gan_utmat_form_gen().

See also:
gan_utmat_form().

Gan_SquMatrix* gan_utmat_form (  Gan_SquMatrix *    A,
unsigned long    size
) 
 

Macro: Form and return a upper triangular matrix.

Forms and returns a upper triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated.

Implemented as a macro call to gan_utmat_form_gen().

See also:
gan_utmat_alloc().

Gan_SquMatrix* gan_utmat_form_data (  Gan_SquMatrix *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a square upper triangular matrix.

Forms and returns a square upper triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_utmat_form_gen().

See also:
gan_utmat_alloc() and gan_utmat_form().

Gan_SquMatrix_f* gan_utmatf_alloc (  unsigned long    size ) 
 

Macro: Allocate and return a upper triangular matrix.

Allocates and returns a upper triangular matrix with given size.

Implemented as a macro call to gan_utmatf_form_gen().

See also:
gan_utmatf_form().

Gan_SquMatrix_f* gan_utmatf_form_data (  Gan_SquMatrix_f *    A,
unsigned long    size,
void *    data,
size_t    data_size
) 
 

Macro: Form and return a square upper triangular matrix.

Forms and returns a square upper triangular matrix with given size. If the A matrix pointer is non-NULL, the given matrix pointer is used; otherwise A is passed as NULL and the matrix is dynamically allocated. Likewise if the provided data pointer is NULL, the matrix data is dynamically allocated.

Implemented as a macro call to gan_utmatf_form_gen().

See also:
gan_utmatf_alloc() and gan_utmatf_form().


Generated on Mon Oct 13 16:15:00 2003 by doxygen1.3-rc1