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

Set Attributes of a General Size Matrix
[General Size Matrices]


Functions

Gan_SquMatrixgan_diagmat_set_size (Gan_SquMatrix *A, unsigned long size)
 Set square matrix to be diagonal with given size.
Gan_Matrixgan_mat_set_dims (Gan_Matrix *A, unsigned long rows, unsigned long cols)
 Set dimensions of generic matrix.
Gan_SquMatrixgan_scalImat_set_size (Gan_SquMatrix *A, unsigned long size)
 Set square matrix to be multiple of identity with given size.
Gan_SquMatrixgan_squmat_set_type_size (Gan_SquMatrix *A, Gan_SquMatrixType type, unsigned long size)
 Set type and size of square matrix.
Gan_SquMatrixgan_squmat_set_type (Gan_SquMatrix *A, Gan_SquMatrixType type)
 Macro: Set type of square matrix.
Gan_SquMatrixgan_squmat_set_size (Gan_SquMatrix *A, unsigned long size)
 Macro: Set size of square matrix.
Gan_SquMatrixgan_symmat_set_size (Gan_SquMatrix *A, unsigned long size)
 Set square matrix to be symmetric with given size.
Gan_SquMatrixgan_ltmat_set_size (Gan_SquMatrix *L, unsigned long size)
 Set square matrix to be lower triangular with given size.
Gan_SquMatrixgan_utmat_set_size (Gan_SquMatrix *U, unsigned long size)
 Set square matrix to be upper triangular with given size.
Gan_SquMatrix_fgan_diagmatf_set_size (Gan_SquMatrix_f *A, unsigned long size)
 Set square matrix to be diagonal with given size.
Gan_Matrix_fgan_matf_set_dims (Gan_Matrix_f *A, unsigned long rows, unsigned long cols)
 Set dimensions of generic matrix.
Gan_SquMatrix_fgan_scalImatf_set_size (Gan_SquMatrix_f *A, unsigned long size)
 Set square matrix to be multiple of identity with given size.
Gan_SquMatrix_fgan_squmatf_set_type_size (Gan_SquMatrix_f *A, Gan_SquMatrixType type, unsigned long size)
 Set type and size of square matrix.
Gan_SquMatrix_fgan_squmatf_set_type (Gan_SquMatrix_f *A, Gan_SquMatrixType type)
 Macro: Set type of square matrix.
Gan_SquMatrix_fgan_squmatf_set_size (Gan_SquMatrix_f *A, unsigned long size)
 Macro: Set size of square matrix.
Gan_SquMatrix_fgan_symmatf_set_size (Gan_SquMatrix_f *A, unsigned long size)
 Set square matrix to be symmetric with given size.
Gan_SquMatrix_fgan_ltmatf_set_size (Gan_SquMatrix_f *L, unsigned long size)
 Set square matrix to be lower triangular with given size.
Gan_SquMatrix_fgan_utmatf_set_size (Gan_SquMatrix_f *U, unsigned long size)
 Set square matrix to be upper triangular with given size.

Function Documentation

Gan_SquMatrix* gan_diagmat_set_size Gan_SquMatrix A,
unsigned long  size
 

Set square matrix to be diagonal with given size.

Returns:
Result matrix A.

Gan_SquMatrix_f* gan_diagmatf_set_size Gan_SquMatrix_f A,
unsigned long  size
 

Set square matrix to be diagonal with given size.

Returns:
Result matrix A.

Gan_SquMatrix* gan_ltmat_set_size Gan_SquMatrix L,
unsigned long  size
 

Set square matrix to be lower triangular with given size.

Returns:
The result matrix L.
Set square matrix L to be lower triangular with given size. L should already have been allocated, with arbitrary type and size. The internal data of L will be reallocated if necessary.

Gan_SquMatrix_f* gan_ltmatf_set_size Gan_SquMatrix_f L,
unsigned long  size
 

Set square matrix to be lower triangular with given size.

Returns:
The result matrix L.
Set square matrix L to be lower triangular with given size. L should already have been allocated, with arbitrary type and size. The internal data of L will be reallocated if necessary.

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

Set dimensions of generic matrix.

Set dimensions of generic matrix A to rows by cols.

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

Set dimensions of generic matrix.

Set dimensions of generic matrix A to rows by cols.

Gan_SquMatrix* gan_scalImat_set_size Gan_SquMatrix A,
unsigned long  size
 

Set square matrix to be multiple of identity with given size.

Returns:
Result matrix A.

Gan_SquMatrix_f* gan_scalImatf_set_size Gan_SquMatrix_f A,
unsigned long  size
 

Set square matrix to be multiple of identity with given size.

Returns:
Result matrix A.

Gan_SquMatrix* gan_squmat_set_size Gan_SquMatrix A,
unsigned long  size
 

Macro: Set size of square matrix.

Returns:
Matrix A.
Set size of square matrix A to size. The type of A is unchanged.

Implemented as a macro call to gan_squmat_set_type_size().

Gan_SquMatrix* gan_squmat_set_type Gan_SquMatrix A,
Gan_SquMatrixType  type
 

Macro: Set type of square matrix.

Returns:
Matrix A.
Set type of square matrix A to type. The size of A is unchanged.

Implemented as a macro call to gan_squmat_set_type_size().

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

Set type and size of square matrix.

Returns:
Result matrix A.
Set type and size of square matrix A to type and size.

Gan_SquMatrix_f* gan_squmatf_set_size Gan_SquMatrix_f A,
unsigned long  size
 

Macro: Set size of square matrix.

Returns:
Matrix A.
Set size of square matrix A to size. The type of A is unchanged.

Implemented as a macro call to gan_squmatf_set_type_size().

Gan_SquMatrix_f* gan_squmatf_set_type Gan_SquMatrix_f A,
Gan_SquMatrixType  type
 

Macro: Set type of square matrix.

Returns:
Matrix A.
Set type of square matrix A to type. The size of A is unchanged.

Implemented as a macro call to gan_squmatf_set_type_size().

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

Set type and size of square matrix.

Returns:
Result matrix A.
Set type and size of square matrix A to type and size.

Gan_SquMatrix* gan_symmat_set_size Gan_SquMatrix A,
unsigned long  size
 

Set square matrix to be symmetric with given size.

Returns:
Result matrix A.
Set square matrix A to be symmetric with given size.

Gan_SquMatrix_f* gan_symmatf_set_size Gan_SquMatrix_f A,
unsigned long  size
 

Set square matrix to be symmetric with given size.

Returns:
Result matrix A.
Set square matrix A to be symmetric with given size.

Gan_SquMatrix* gan_utmat_set_size Gan_SquMatrix U,
unsigned long  size
 

Set square matrix to be upper triangular with given size.

Returns:
The result matrix U.
Set square matrix U to be upper triangular with given size. U should already have been allocated, with arbitrary type and size. The internal data of U will be reallocated if necessary.

Gan_SquMatrix_f* gan_utmatf_set_size Gan_SquMatrix_f U,
unsigned long  size
 

Set square matrix to be upper triangular with given size.

Returns:
The result matrix U.
Set square matrix U to be upper triangular with given size. U should already have been allocated, with arbitrary type and size. The internal data of U will be reallocated if necessary.


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