Main Page | Modules | Class List | File List | Class Members | File Members

Fill a General Size Matrix with Values
[General Size Matrices]


Functions

Gan_SquMatrixgan_diagmat_fill_va (Gan_SquMatrix *A, unsigned long size,...)
 Fill diagonal matrix from variable argument list.
Gan_SquMatrixgan_diagmat_fill_const_q (Gan_SquMatrix *A, unsigned long size, double value)
 Fill a diagonal matrix with constant value.
Gan_SquMatrixgan_diagmat_fill_vap (Gan_SquMatrix *A, unsigned long size, va_list *aptr)
 Fill diagonal matrix with values from variable argument list.
Gan_SquMatrixgan_diagmat_fill_const_s (unsigned long size, double value)
 Macro: Allocates a diagonal matrix and fills it with a value.
Gan_SquMatrixgan_diagmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size)
 Macro: Sets the size of diagonal matrix, and fills it with zero.
Gan_SquMatrixgan_diagmat_fill_zero_s (unsigned long size)
 Macro: Allocates a diagonal matrix and fills it with zero.
Gan_Matrixgan_mat_fill_va (Gan_Matrix *A, unsigned long rows, unsigned long cols,...)
 Fill matrix from variable argument list.
Gan_Matrixgan_mat_fill_vap (Gan_Matrix *A, unsigned long rows, unsigned long cols, va_list *aptr)
 Fill matrix from variable argument list.
Gan_Matrixgan_mat_fill_const_q (Gan_Matrix *A, unsigned long rows, unsigned long cols, double value)
 Fill all elements of a matrix with the same value.
Gan_Matrixgan_mat_fill_const_s (unsigned long rows, unsigned long cols, double value)
 Macro: Allocate and fill elements of a matrix with the same value.
Gan_Matrixgan_mat_fill_zero_q (Gan_Matrix *A, unsigned long rows, unsigned long cols)
 Macro: Fill matrix with zeros.
Gan_Matrixgan_mat_fill_zero_s (unsigned long rows, unsigned cols)
 Macro: Allocate and fill matrix with zeros.
Gan_SquMatrixgan_scalImat_fill_va (Gan_SquMatrix *A, unsigned long size,...)
 Fill multiple of the identity matrix from variable argument list.
Gan_SquMatrixgan_scalImat_fill_const_q (Gan_SquMatrix *A, unsigned long size, double value)
 Fill a scaled identity matrix with constant value.
Gan_SquMatrixgan_scalImat_fill_vap (Gan_SquMatrix *A, unsigned long size, va_list *aptr)
 Fill multiple of identity matrix using variable argument list.
Gan_SquMatrixgan_scalImat_fill_const_s (unsigned long size, double value)
 Macro: Allocates a scaled identity matrix and fills it with a value.
Gan_SquMatrixgan_scalImat_fill_zero_q (Gan_SquMatrix *A, unsigned long size)
 Macro: Sets the size of scaled identity matrix and fills it with zero.
Gan_SquMatrixgan_scalImat_fill_zero_s (unsigned long size)
 Macro: Allocates a scaled identity matrix and fills it with zero.
Gan_SquMatrixgan_squmat_fill_vap (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size, va_list *aptr)
 Fill square matrix from variable argument list.
Gan_SquMatrixgan_squmat_fill_const_q (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size, double value)
 Fill square matrix with constant value.
Gan_SquMatrixgan_squmat_fill_const_s (Gan_SquMatrixType type, unsigned long size, double value)
 Macro: Allocates a square matrix and fills it with a value.
Gan_SquMatrixgan_squmat_fill_zero_q (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size)
 Macro: Sets the size of square matrix, and fills it with zero.
Gan_SquMatrixgan_squmat_fill_zero_s (Gan_SquMatrixType type, unsigned long size)
 Macro: Allocates a square matrix and fills it with zero.
Gan_SquMatrixgan_symmat_fill_va (Gan_SquMatrix *A, unsigned long size,...)
 Fill symmetric matrix from variable argument list.
Gan_SquMatrixgan_symmat_fill_const_q (Gan_SquMatrix *A, unsigned long size, double value)
 Fill symmetric matrix with constant value, and set its size.
Gan_SquMatrixgan_symmat_fill_vap (Gan_SquMatrix *A, unsigned long size, va_list *aptr)
 Fill symmetric matrix with values from variable argument list.
Gan_SquMatrixgan_symmat_fill_const_s (unsigned long size, double value)
 Macro: Allocates a symmetric matrix and fills it with a value.
Gan_SquMatrixgan_symmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size)
 Macro: Sets the size of symmetric matrix, and fills it with zero.
Gan_SquMatrixgan_symmat_fill_zero_s (unsigned long size)
 Macro: Allocates a symmetric matrix and fills it with zero.
Gan_SquMatrixgan_ltmat_fill_va (Gan_SquMatrix *L, unsigned long size,...)
 Fill a lower triangular matrix with values.
Gan_SquMatrixgan_utmat_fill_va (Gan_SquMatrix *U, unsigned long size,...)
 Fill an upper triangular matrix with values.
Gan_SquMatrixgan_ltmat_fill_const_q (Gan_SquMatrix *L, unsigned long size, double value)
 Fill a lower triangular matrix with a constant value.
Gan_SquMatrixgan_utmat_fill_const_q (Gan_SquMatrix *U, unsigned long size, double value)
 Fill a upper triangular matrix with a constant value.
Gan_SquMatrixgan_ltmat_fill_vap (Gan_SquMatrix *L, unsigned long size, va_list *aptr)
 Fills a lower triangular matrix with values.
Gan_SquMatrixgan_utmat_fill_vap (Gan_SquMatrix *U, unsigned long size, va_list *aptr)
 Fills an upper triangular matrix with values.
Gan_SquMatrixgan_ltmat_fill_const_s (unsigned long size, double value)
 Macro: Allocates a lower triangular matrix and fills it with a value.
Gan_SquMatrixgan_ltmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size)
 Macro: Sets the size of lower triangular matrix and fills it with zero.
Gan_SquMatrixgan_ltmat_fill_zero_s (unsigned long size)
 Macro: Allocates a lower triangular matrix and fills it with zero.
Gan_SquMatrixgan_utmat_fill_const_s (unsigned long size, double value)
 Macro: Allocates an upper triangular matrix and fills it with a value.
Gan_SquMatrixgan_utmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size)
 Macro: Sets the size of upper triangular matrix and fills it with zero.
Gan_SquMatrixgan_utmat_fill_zero_s (unsigned long size)
 Macro: Allocates an upper triangular matrix and fills it with zero.
Gan_SquMatrix_fgan_diagmatf_fill_va (Gan_SquMatrix_f *A, unsigned long size,...)
 Fill diagonal matrix from variable argument list.
Gan_SquMatrix_fgan_diagmatf_fill_const_q (Gan_SquMatrix_f *A, unsigned long size, float value)
 Fill a diagonal matrix with constant value.
Gan_SquMatrix_fgan_diagmatf_fill_vap (Gan_SquMatrix_f *A, unsigned long size, va_list *aptr)
 Fill diagonal matrix with values from variable argument list.
Gan_SquMatrix_fgan_diagmatf_fill_const_s (unsigned long size, float value)
 Macro: Allocates a diagonal matrix and fills it with a value.
Gan_SquMatrix_fgan_diagmatf_fill_zero_q (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Sets the size of diagonal matrix, and fills it with zero.
Gan_SquMatrix_fgan_diagmatf_fill_zero_s (unsigned long size)
 Macro: Allocates a diagonal matrix and fills it with zero.
Gan_Matrix_fgan_matf_fill_va (Gan_Matrix_f *A, unsigned long rows, unsigned long cols,...)
 Fill matrix from variable argument list.
Gan_Matrix_fgan_matf_fill_vap (Gan_Matrix_f *A, unsigned long rows, unsigned long cols, va_list *aptr)
 Fill matrix from variable argument list.
Gan_Matrix_fgan_matf_fill_const_q (Gan_Matrix_f *A, unsigned long rows, unsigned long cols, float value)
 Fill all elements of a matrix with the same value.
Gan_Matrix_fgan_matf_fill_const_s (unsigned long rows, unsigned long cols, float value)
 Macro: Allocate and fill elements of a matrix with the same value.
Gan_Matrix_fgan_matf_fill_zero_q (Gan_Matrix_f *A, unsigned long rows, unsigned long cols)
 Macro: Fill matrix with zeros.
Gan_Matrix_fgan_matf_fill_zero_s (unsigned long rows, unsigned cols)
 Macro: Allocate and fill matrix with zeros.
Gan_SquMatrix_fgan_scalImatf_fill_va (Gan_SquMatrix_f *A, unsigned long size,...)
 Fill multiple of the identity matrix from variable argument list.
Gan_SquMatrix_fgan_scalImatf_fill_const_q (Gan_SquMatrix_f *A, unsigned long size, float value)
 Fill a scaled identity matrix with constant value.
Gan_SquMatrix_fgan_scalImatf_fill_vap (Gan_SquMatrix_f *A, unsigned long size, va_list *aptr)
 Fill multiple of identity matrix using variable argument list.
Gan_SquMatrix_fgan_scalImatf_fill_const_s (unsigned long size, float value)
 Macro: Allocates a scaled identity matrix and fills it with a value.
Gan_SquMatrix_fgan_scalImatf_fill_zero_q (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Sets the size of scaled identity matrix and fills it with zero.
Gan_SquMatrix_fgan_scalImatf_fill_zero_s (unsigned long size)
 Macro: Allocates a scaled identity matrix and fills it with zero.
Gan_SquMatrix_fgan_squmatf_fill_vap (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size, va_list *aptr)
 Fill square matrix from variable argument list.
Gan_SquMatrix_fgan_squmatf_fill_const_q (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size, float value)
 Fill square matrix with constant value.
Gan_SquMatrix_fgan_squmatf_fill_const_s (Gan_SquMatrixType type, unsigned long size, float value)
 Macro: Allocates a square matrix and fills it with a value.
Gan_SquMatrix_fgan_squmatf_fill_zero_q (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size)
 Macro: Sets the size of square matrix, and fills it with zero.
Gan_SquMatrix_fgan_squmatf_fill_zero_s (Gan_SquMatrixType type, unsigned long size)
 Macro: Allocates a square matrix and fills it with zero.
Gan_SquMatrix_fgan_symmatf_fill_va (Gan_SquMatrix_f *A, unsigned long size,...)
 Fill symmetric matrix from variable argument list.
Gan_SquMatrix_fgan_symmatf_fill_const_q (Gan_SquMatrix_f *A, unsigned long size, float value)
 Fill symmetric matrix with constant value, and set its size.
Gan_SquMatrix_fgan_symmatf_fill_vap (Gan_SquMatrix_f *A, unsigned long size, va_list *aptr)
 Fill symmetric matrix with values from variable argument list.
Gan_SquMatrix_fgan_symmatf_fill_const_s (unsigned long size, float value)
 Macro: Allocates a symmetric matrix and fills it with a value.
Gan_SquMatrix_fgan_symmatf_fill_zero_q (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Sets the size of symmetric matrix, and fills it with zero.
Gan_SquMatrix_fgan_symmatf_fill_zero_s (unsigned long size)
 Macro: Allocates a symmetric matrix and fills it with zero.
Gan_SquMatrix_fgan_ltmatf_fill_va (Gan_SquMatrix_f *L, unsigned long size,...)
 Fill a lower triangular matrix with values.
Gan_SquMatrix_fgan_utmatf_fill_va (Gan_SquMatrix_f *U, unsigned long size,...)
 Fill an upper triangular matrix with values.
Gan_SquMatrix_fgan_ltmatf_fill_const_q (Gan_SquMatrix_f *L, unsigned long size, float value)
 Fill a lower triangular matrix with a constant value.
Gan_SquMatrix_fgan_utmatf_fill_const_q (Gan_SquMatrix_f *U, unsigned long size, float value)
 Fill a upper triangular matrix with a constant value.
Gan_SquMatrix_fgan_ltmatf_fill_vap (Gan_SquMatrix_f *L, unsigned long size, va_list *aptr)
 Fills a lower triangular matrix with values.
Gan_SquMatrix_fgan_utmatf_fill_vap (Gan_SquMatrix_f *U, unsigned long size, va_list *aptr)
 Fills an upper triangular matrix with values.
Gan_SquMatrix_fgan_ltmatf_fill_const_s (unsigned long size, float value)
 Macro: Allocates a lower triangular matrix and fills it with a value.
Gan_SquMatrix_fgan_ltmatf_fill_zero_q (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Sets the size of lower triangular matrix and fills it with zero.
Gan_SquMatrix_fgan_ltmatf_fill_zero_s (unsigned long size)
 Macro: Allocates a lower triangular matrix and fills it with zero.
Gan_SquMatrix_fgan_utmatf_fill_const_s (unsigned long size, float value)
 Macro: Allocates an upper triangular matrix and fills it with a value.
Gan_SquMatrix_fgan_utmatf_fill_zero_q (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Sets the size of upper triangular matrix and fills it with zero.
Gan_SquMatrix_fgan_utmatf_fill_zero_s (unsigned long size)
 Macro: Allocates an upper triangular matrix and fills it with zero.

Function Documentation

Gan_SquMatrix* gan_diagmat_fill_const_q Gan_SquMatrix A,
unsigned long  size,
double  value
 

Fill a diagonal matrix with constant value.

Returns:
Filled matrix A.
Set matrix A to be diagonal with given size, and fill with given value.

Gan_SquMatrix* gan_diagmat_fill_const_s unsigned long  size,
double  value
 

Macro: Allocates a diagonal matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a diagonal matrix, sets its size, and fills it with zero.

See also:
gan_diagmat_fill_const_q().

Gan_SquMatrix* gan_diagmat_fill_va Gan_SquMatrix A,
unsigned long  size,
  ...
 

Fill diagonal matrix from variable argument list.

Returns:
Result matrix A, or NULL on failure.
Fill diagonal matrix A with values from variable argument list, and set the size of A to size.

Gan_SquMatrix* gan_diagmat_fill_vap Gan_SquMatrix A,
unsigned long  size,
va_list *  aptr
 

Fill diagonal matrix with values from variable argument list.

Fill diagonal matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix* gan_diagmat_fill_zero_q Gan_SquMatrix A,
unsigned long  size
 

Macro: Sets the size of diagonal matrix, and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of diagonal matrix A, and fills A with zero.

See also:
gan_diagmat_fill_const_q().

Gan_SquMatrix* gan_diagmat_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a diagonal matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a diagonal matrix, sets its size, and fills it with zero.

See also:
gan_diagmat_fill_const_s().

Gan_SquMatrix_f* gan_diagmatf_fill_const_q Gan_SquMatrix_f A,
unsigned long  size,
float  value
 

Fill a diagonal matrix with constant value.

Returns:
Filled matrix A.
Set matrix A to be diagonal with given size, and fill with given value.

Gan_SquMatrix_f* gan_diagmatf_fill_const_s unsigned long  size,
float  value
 

Macro: Allocates a diagonal matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a diagonal matrix, sets its size, and fills it with zero.

See also:
gan_diagmatf_fill_const_q().

Gan_SquMatrix_f* gan_diagmatf_fill_va Gan_SquMatrix_f A,
unsigned long  size,
  ...
 

Fill diagonal matrix from variable argument list.

Fill diagonal matrix A with values from variable argument list, and set the size of A to size.

Gan_SquMatrix_f* gan_diagmatf_fill_vap Gan_SquMatrix_f A,
unsigned long  size,
va_list *  aptr
 

Fill diagonal matrix with values from variable argument list.

Fill diagonal matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix_f* gan_diagmatf_fill_zero_q Gan_SquMatrix_f A,
unsigned long  size
 

Macro: Sets the size of diagonal matrix, and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of diagonal matrix A, and fills A with zero.

See also:
gan_diagmatf_fill_const_q().

Gan_SquMatrix_f* gan_diagmatf_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a diagonal matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a diagonal matrix, sets its size, and fills it with zero.

See also:
gan_diagmatf_fill_const_s().

Gan_SquMatrix* gan_ltmat_fill_const_q Gan_SquMatrix L,
unsigned long  size,
double  value
 

Fill a lower triangular matrix with a constant value.

Returns:
Result matrix L.
Set a lower triangular matrix L to have given size, and fill with constant value.

Gan_SquMatrix* gan_ltmat_fill_const_s unsigned long  size,
double  value
 

Macro: Allocates a lower triangular matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a lower triangular matrix, sets its size, and fills it with zero.

See also:
gan_ltmat_fill_const_q().

Gan_SquMatrix* gan_ltmat_fill_va Gan_SquMatrix L,
unsigned long  size,
  ...
 

Fill a lower triangular matrix with values.

Returns:
Result matrix L.
Set lower triangular matrix L to have given size, and fill with values from a variable argument list.

Gan_SquMatrix* gan_ltmat_fill_vap Gan_SquMatrix L,
unsigned long  size,
va_list *  aptr
 

Fills a lower triangular matrix with values.

Returns:
The filled matrix L.
Sets a lower triangular matrix L to given size, and fills it with values from the variable argument list aptr.

Gan_SquMatrix* gan_ltmat_fill_zero_q Gan_SquMatrix A,
unsigned long  size
 

Macro: Sets the size of lower triangular matrix and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure. Sets the size of lower triangular matrix A, and fills A with zero.
See also:
gan_ltmat_fill_const_q().

Gan_SquMatrix* gan_ltmat_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a lower triangular matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a lower triangular matrix, sets its size, and fills it with zero.

See also:
gan_ltmat_fill_const_s().

Gan_SquMatrix_f* gan_ltmatf_fill_const_q Gan_SquMatrix_f L,
unsigned long  size,
float  value
 

Fill a lower triangular matrix with a constant value.

Returns:
Result matrix L.
Set a lower triangular matrix L to have given size, and fill with constant value.

Gan_SquMatrix_f* gan_ltmatf_fill_const_s unsigned long  size,
float  value
 

Macro: Allocates a lower triangular matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a lower triangular matrix, sets its size, and fills it with zero.

See also:
gan_ltmatf_fill_const_q().

Gan_SquMatrix_f* gan_ltmatf_fill_va Gan_SquMatrix_f L,
unsigned long  size,
  ...
 

Fill a lower triangular matrix with values.

Returns:
Result matrix L.
Set lower triangular matrix L to have given size, and fill with values from a variable argument list.

Gan_SquMatrix_f* gan_ltmatf_fill_vap Gan_SquMatrix_f L,
unsigned long  size,
va_list *  aptr
 

Fills a lower triangular matrix with values.

Returns:
The filled matrix L.
Sets a lower triangular matrix L to given size, and fills it with values from the variable argument list aptr.

Gan_SquMatrix_f* gan_ltmatf_fill_zero_q Gan_SquMatrix_f A,
unsigned long  size
 

Macro: Sets the size of lower triangular matrix and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure. Sets the size of lower triangular matrix A, and fills A with zero.
See also:
gan_ltmatf_fill_const_q().

Gan_SquMatrix_f* gan_ltmatf_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a lower triangular matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a lower triangular matrix, sets its size, and fills it with zero.

See also:
gan_ltmatf_fill_const_s().

Gan_Matrix* gan_mat_fill_const_q Gan_Matrix A,
unsigned long  rows,
unsigned long  cols,
double  value
 

Fill all elements of a matrix with the same value.

Parameters:
A The matrix to fill or NULL
rows The new row size of the matrix
cols The new column size of the matrix
value The value to set each element of the matrix to
Returns:
non-NULL on successfully filling the matrix, or NULL on failure.
Set the dimensions of matrix A to rows by cols, and fill each element with the provided value.

See also:
gan_mat_fill_const_s().

Gan_Matrix* gan_mat_fill_const_s unsigned long  rows,
unsigned long  cols,
double  value
 

Macro: Allocate and fill elements of a matrix with the same value.

Parameters:
rows The new row size of the matrix
cols The new column size of the matrix
value The value to set each element of the matrix to
Returns:
non-NULL on successfully allocating and filling the matrix, or NULL on failure.
Allocate a matrix, set the dimensions of it to rows by cols, and fill each element with the provided value.
See also:
gan_mat_fill_const_q().

Gan_Matrix* gan_mat_fill_va Gan_Matrix A,
unsigned long  rows,
unsigned long  cols,
  ...
 

Fill matrix from variable argument list.

Parameters:
A Matrix to fill or NULL
rows Number of rows in matrix
cols Number of columns in matrix
Fill matrix A with values from variable argument list, and set the dimensions of A to rows by cols.

Returns:
Pointer to the filled matrix.

Gan_Matrix* gan_mat_fill_vap Gan_Matrix A,
unsigned long  rows,
unsigned long  cols,
va_list *  aptr
 

Fill matrix from variable argument list.

Parameters:
A Matrix to fill or NULL
rows Number of rows in matrix
cols Number of columns in matrix
aptr Variable argument list of elements
Returns:
Pointer to the filled matrix, or NULL on failure.
Fill matrix A with values from variable argument list aptr, and set the dimensions of A to rows by cols.

Gan_Matrix* gan_mat_fill_zero_q Gan_Matrix A,
unsigned long  rows,
unsigned long  cols
 

Macro: Fill matrix with zeros.

Parameters:
A The matrix to be filled
rows The new row size of the matrix
cols The new column size of the matrix
Returns:
non-NULL Successfully filled matrix, or NULL on failure.
et the dimensions of A to rows by cols, and fill it with zeros.
See also:
gan_mat_fill_zero_s().

Gan_Matrix* gan_mat_fill_zero_s unsigned long  rows,
unsigned  cols
 

Macro: Allocate and fill matrix with zeros.

Parameters:
rows The new row size of the matrix
cols The new column size of the matrix
Returns:
non-NULL Successfully allocated and filled matrix, or NULL on failure.
Allocate a matrix, set the dimensions of it to rows by cols, and fill it with zeros.
See also:
gan_mat_fill_zero_q().

Gan_Matrix_f* gan_matf_fill_const_q Gan_Matrix_f A,
unsigned long  rows,
unsigned long  cols,
float  value
 

Fill all elements of a matrix with the same value.

Parameters:
A The matrix to fill or NULL
rows The new row size of the matrix
cols The new column size of the matrix
value The value to set each element of the matrix to
Returns:
non-NULL on successfully filling the matrix, or NULL on failure.
Set the dimensions of matrix A to rows by cols, and fill each element with the provided value.

See also:
gan_matf_fill_const_s().

Gan_Matrix_f* gan_matf_fill_const_s unsigned long  rows,
unsigned long  cols,
float  value
 

Macro: Allocate and fill elements of a matrix with the same value.

Parameters:
rows The new row size of the matrix
cols The new column size of the matrix
value The value to set each element of the matrix to
Returns:
non-NULL on successfully allocating and filling the matrix, or NULL on failure.
Allocate a matrix, set the dimensions of it to rows by cols, and fill each element with the provided value.
See also:
gan_matf_fill_const_q().

Gan_Matrix_f* gan_matf_fill_va Gan_Matrix_f A,
unsigned long  rows,
unsigned long  cols,
  ...
 

Fill matrix from variable argument list.

Parameters:
A Matrix to fill or NULL
rows Number of rows in matrix
cols Number of columns in matrix
Fill matrix A with values from variable argument list, and set the dimensions of A to rows by cols.

Returns:
Pointer to the filled matrix.

Gan_Matrix_f* gan_matf_fill_vap Gan_Matrix_f A,
unsigned long  rows,
unsigned long  cols,
va_list *  aptr
 

Fill matrix from variable argument list.

Parameters:
A Matrix to fill or NULL
rows Number of rows in matrix
cols Number of columns in matrix
aptr Variable argument list of elements
Fill matrix A with values from variable argument list aptr, and set the dimensions of A to rows by cols.

Returns:
Pointer to the filled matrix.

Gan_Matrix_f* gan_matf_fill_zero_q Gan_Matrix_f A,
unsigned long  rows,
unsigned long  cols
 

Macro: Fill matrix with zeros.

Parameters:
A The matrix to be filled
rows The new row size of the matrix
cols The new column size of the matrix
Returns:
non-NULL Successfully filled matrix, or NULL on failure.
et the dimensions of A to rows by cols, and fill it with zeros.
See also:
gan_matf_fill_zero_s().

Gan_Matrix_f* gan_matf_fill_zero_s unsigned long  rows,
unsigned  cols
 

Macro: Allocate and fill matrix with zeros.

Parameters:
rows The new row size of the matrix
cols The new column size of the matrix
Returns:
non-NULL Successfully allocated and filled matrix, or NULL on failure.
Allocate a matrix, set the dimensions of it to rows by cols, and fill it with zeros.
See also:
gan_matf_fill_zero_q().

Gan_SquMatrix* gan_scalImat_fill_const_q Gan_SquMatrix A,
unsigned long  size,
double  value
 

Fill a scaled identity matrix with constant value.

Returns:
Filled matrix A.
Set matrix A to be a multiple of identity with given size, and fill with given value.

Gan_SquMatrix* gan_scalImat_fill_const_s unsigned long  size,
double  value
 

Macro: Allocates a scaled identity matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a scaled identity matrix, sets its size, and fills it with the given value.

See also:
gan_scalImat_fill_const_q().

Gan_SquMatrix* gan_scalImat_fill_va Gan_SquMatrix A,
unsigned long  size,
  ...
 

Fill multiple of the identity matrix from variable argument list.

Returns:
Result matrix A, or NULL on failure.
Fill multiple of the identity matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix* gan_scalImat_fill_vap Gan_SquMatrix A,
unsigned long  size,
va_list *  aptr
 

Fill multiple of identity matrix using variable argument list.

Returns:
Result matrix A.
Fill multiple of identity matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix* gan_scalImat_fill_zero_q Gan_SquMatrix A,
unsigned long  size
 

Macro: Sets the size of scaled identity matrix and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of scaled identity matrix A, and fills A with zero.

See also:
gan_scalImat_fill_const_q().

Gan_SquMatrix* gan_scalImat_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a scaled identity matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a scaled identity matrix, sets its size, and fills it with zero.

See also:
gan_scalImat_fill_const_s().

Gan_SquMatrix_f* gan_scalImatf_fill_const_q Gan_SquMatrix_f A,
unsigned long  size,
float  value
 

Fill a scaled identity matrix with constant value.

Returns:
Filled matrix A.
Set matrix A to be a multiple of identity with given size, and fill with given value.

Gan_SquMatrix_f* gan_scalImatf_fill_const_s unsigned long  size,
float  value
 

Macro: Allocates a scaled identity matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a scaled identity matrix, sets its size, and fills it with the given value.

See also:
gan_scalImatf_fill_const_q().

Gan_SquMatrix_f* gan_scalImatf_fill_va Gan_SquMatrix_f A,
unsigned long  size,
  ...
 

Fill multiple of the identity matrix from variable argument list.

Returns:
Result matrix A, or NULL on failure.
Fill multiple of the identity matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix_f* gan_scalImatf_fill_vap Gan_SquMatrix_f A,
unsigned long  size,
va_list *  aptr
 

Fill multiple of identity matrix using variable argument list.

Returns:
Result matrix A.
Fill multiple of identity matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix_f* gan_scalImatf_fill_zero_q Gan_SquMatrix_f A,
unsigned long  size
 

Macro: Sets the size of scaled identity matrix and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of scaled identity matrix A, and fills A with zero.

See also:
gan_scalImatf_fill_const_q().

Gan_SquMatrix_f* gan_scalImatf_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a scaled identity matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a scaled identity matrix, sets its size, and fills it with zero.

See also:
gan_scalImatf_fill_const_s().

Gan_SquMatrix* gan_squmat_fill_const_q Gan_SquMatrix A,
Gan_SquMatrixType  type,
unsigned long  size,
double  value
 

Fill square matrix with constant value.

Returns:
Result matrix A.
Fill matrix A with constant value, and set the type and size of A to type and size respectively.

Gan_SquMatrix* gan_squmat_fill_const_s Gan_SquMatrixType  type,
unsigned long  size,
double  value
 

Macro: Allocates a square matrix and fills it with a value.

Parameters:
type Type of square matrix
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a square matrix with given type, sets its size, and fills it with zero.

See also:
gan_squmat_fill_const_q().

Gan_SquMatrix* gan_squmat_fill_vap Gan_SquMatrix A,
Gan_SquMatrixType  type,
unsigned long  size,
va_list *  aptr
 

Fill square matrix from variable argument list.

Returns:
Result matrix A.
Fill square matrix A with values from variable argument list aptr, and set the type and size of A to type and size respectively.

Gan_SquMatrix* gan_squmat_fill_zero_q Gan_SquMatrix A,
Gan_SquMatrixType  type,
unsigned long  size
 

Macro: Sets the size of square matrix, and fills it with zero.

Parameters:
type Type of square matrix
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the type and size of square matrix A, and fills A with zero.

See also:
gan_squmat_fill_const_q()

Gan_SquMatrix* gan_squmat_fill_zero_s Gan_SquMatrixType  type,
unsigned long  size
 

Macro: Allocates a square matrix and fills it with zero.

Parameters:
type Type of square matrix
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a square matrix, sets its type and size, and fills it with zero.

See also:
gan_squmat_fill_const_s()

Gan_SquMatrix_f* gan_squmatf_fill_const_q Gan_SquMatrix_f A,
Gan_SquMatrixType  type,
unsigned long  size,
float  value
 

Fill square matrix with constant value.

Returns:
Result matrix A.
Fill matrix A with constant value, and set the type and size of A to type and size respectively.

Gan_SquMatrix_f* gan_squmatf_fill_const_s Gan_SquMatrixType  type,
unsigned long  size,
float  value
 

Macro: Allocates a square matrix and fills it with a value.

Parameters:
type Type of square matrix
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a square matrix with given type, sets its size, and fills it with zero.

See also:
gan_squmatf_fill_const_q().

Gan_SquMatrix_f* gan_squmatf_fill_vap Gan_SquMatrix_f A,
Gan_SquMatrixType  type,
unsigned long  size,
va_list *  aptr
 

Fill square matrix from variable argument list.

Returns:
Result matrix A.
Fill square matrix A with values from variable argument list aptr, and set the type and size of A to type and size respectively.

Gan_SquMatrix_f* gan_squmatf_fill_zero_q Gan_SquMatrix_f A,
Gan_SquMatrixType  type,
unsigned long  size
 

Macro: Sets the size of square matrix, and fills it with zero.

Parameters:
type Type of square matrix
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the type and size of square matrix A, and fills A with zero.

See also:
gan_squmatf_fill_const_q()

Gan_SquMatrix_f* gan_squmatf_fill_zero_s Gan_SquMatrixType  type,
unsigned long  size
 

Macro: Allocates a square matrix and fills it with zero.

Parameters:
type Type of square matrix
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a square matrix, sets its type and size, and fills it with zero.

See also:
gan_squmatf_fill_const_s()

Gan_SquMatrix* gan_symmat_fill_const_q Gan_SquMatrix A,
unsigned long  size,
double  value
 

Fill symmetric matrix with constant value, and set its size.

Returns:
Result matrix A.
Fill matrix A with constant value, and set the size of A to size.

Gan_SquMatrix* gan_symmat_fill_const_s unsigned long  size,
double  value
 

Macro: Allocates a symmetric matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a symmetric matrix, sets its size, and fills it with the specified value.

See also:
gan_symmat_fill_const_q()

Gan_SquMatrix* gan_symmat_fill_va Gan_SquMatrix A,
unsigned long  size,
  ...
 

Fill symmetric matrix from variable argument list.

Returns:
Result matrix A.
Fill symmetric matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix* gan_symmat_fill_vap Gan_SquMatrix A,
unsigned long  size,
va_list *  aptr
 

Fill symmetric matrix with values from variable argument list.

Returns:
Result matrix A.
Fill symmetric matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix* gan_symmat_fill_zero_q Gan_SquMatrix A,
unsigned long  size
 

Macro: Sets the size of symmetric matrix, and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of symmetric matrix A, and fills A with zero.

See also:
gan_symmat_fill_const_q()

Gan_SquMatrix* gan_symmat_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a symmetric matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a symmetric matrix, sets its size, and fills it with zero.

See also:
gan_symmat_fill_const_s()

Gan_SquMatrix_f* gan_symmatf_fill_const_q Gan_SquMatrix_f A,
unsigned long  size,
float  value
 

Fill symmetric matrix with constant value, and set its size.

Returns:
Result matrix A.
Fill matrix A with constant value, and set the size of A to size.

Gan_SquMatrix_f* gan_symmatf_fill_const_s unsigned long  size,
float  value
 

Macro: Allocates a symmetric matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a symmetric matrix, sets its size, and fills it with the specified value.

See also:
gan_symmatf_fill_const_q()

Gan_SquMatrix_f* gan_symmatf_fill_va Gan_SquMatrix_f A,
unsigned long  size,
  ...
 

Fill symmetric matrix from variable argument list.

Returns:
Result matrix A.
Fill symmetric matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix_f* gan_symmatf_fill_vap Gan_SquMatrix_f A,
unsigned long  size,
va_list *  aptr
 

Fill symmetric matrix with values from variable argument list.

Returns:
Result matrix A.
Fill symmetric matrix A with values from variable argument list aptr, and set the size of A to size.

Gan_SquMatrix_f* gan_symmatf_fill_zero_q Gan_SquMatrix_f A,
unsigned long  size
 

Macro: Sets the size of symmetric matrix, and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of symmetric matrix A, and fills A with zero.

See also:
gan_symmatf_fill_const_q()

Gan_SquMatrix_f* gan_symmatf_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates a symmetric matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates a symmetric matrix, sets its size, and fills it with zero.

See also:
gan_symmatf_fill_const_s()

Gan_SquMatrix* gan_utmat_fill_const_q Gan_SquMatrix U,
unsigned long  size,
double  value
 

Fill a upper triangular matrix with a constant value.

Returns:
Result matrix U.
Set an upper triangular matrix U to have given size, and fill with constant value.

Gan_SquMatrix* gan_utmat_fill_const_s unsigned long  size,
double  value
 

Macro: Allocates an upper triangular matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates an upper triangular matrix, sets its size, and fills it with zero.

See also:
gan_utmat_fill_const_q().

Gan_SquMatrix* gan_utmat_fill_va Gan_SquMatrix U,
unsigned long  size,
  ...
 

Fill an upper triangular matrix with values.

Returns:
Result matrix U.
Set upper triangular matrix U to have given size, and fill with values from a variable argument list.

Gan_SquMatrix* gan_utmat_fill_vap Gan_SquMatrix U,
unsigned long  size,
va_list *  aptr
 

Fills an upper triangular matrix with values.

Returns:
The filled matrix U.
Sets an upper triangular matrix U to given size, and fills it with values from the variable argument list aptr.

Gan_SquMatrix* gan_utmat_fill_zero_q Gan_SquMatrix A,
unsigned long  size
 

Macro: Sets the size of upper triangular matrix and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of upper triangular matrix A, and fills A with zero.

See also:
gan_utmat_fill_const_q().

Gan_SquMatrix* gan_utmat_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates an upper triangular matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates an upper triangular matrix, sets its size, and fills it with zero.

See also:
gan_utmat_fill_const_s().

Gan_SquMatrix_f* gan_utmatf_fill_const_q Gan_SquMatrix_f U,
unsigned long  size,
float  value
 

Fill a upper triangular matrix with a constant value.

Returns:
Result matrix U.
Set an upper triangular matrix U to have given size, and fill with constant value.

Gan_SquMatrix_f* gan_utmatf_fill_const_s unsigned long  size,
float  value
 

Macro: Allocates an upper triangular matrix and fills it with a value.

Parameters:
size Size to set matrix to
value Value to set each element of the matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates an upper triangular matrix, sets its size, and fills it with zero.

See also:
gan_utmatf_fill_const_q().

Gan_SquMatrix_f* gan_utmatf_fill_va Gan_SquMatrix_f U,
unsigned long  size,
  ...
 

Fill an upper triangular matrix with values.

Returns:
Result matrix U.
Set upper triangular matrix U to have given size, and fill with values from a variable argument list.

Gan_SquMatrix_f* gan_utmatf_fill_vap Gan_SquMatrix_f U,
unsigned long  size,
va_list *  aptr
 

Fills an upper triangular matrix with values.

Returns:
The filled matrix U.
Sets an upper triangular matrix U to given size, and fills it with values from the variable argument list aptr.

Gan_SquMatrix_f* gan_utmatf_fill_zero_q Gan_SquMatrix_f A,
unsigned long  size
 

Macro: Sets the size of upper triangular matrix and fills it with zero.

Parameters:
A Square matrix to be filled
size Size to set matrix to
Returns:
The filled matrix, or NULL on failure.
Sets the size of upper triangular matrix A, and fills A with zero.

See also:
gan_utmatf_fill_const_q().

Gan_SquMatrix_f* gan_utmatf_fill_zero_s unsigned long  size  ) 
 

Macro: Allocates an upper triangular matrix and fills it with zero.

Parameters:
size Size to set matrix to
Returns:
The allocated and filled matrix, or NULL on failure.
Allocates an upper triangular matrix, sets its size, and fills it with zero.

See also:
gan_utmatf_fill_const_s().


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