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

General Size Matrix I/O
[General Size Matrices]


Defines

#define TYPE_STRING_LENGTH   50
#define TYPE_STRING_LENGTH   50

Functions

Gan_Bool gan_mat_fprint (FILE *fp, const Gan_Matrix *A, const char *prefix, unsigned indent, const char *fmt)
 Print matrix to file pointer.
Gan_Matrixgan_mat_fscanf_q (FILE *fp, Gan_Matrix *A, char *prefix, int prefix_len)
 Read matrix from file.
Gan_Bool gan_mat_fwrite (FILE *fp, const Gan_Matrix *A, gan_uint32 magic_number)
 Print matrix to binary file pointer.
Gan_Matrixgan_mat_fread_q (FILE *fp, Gan_Matrix *A, gan_uint32 *magic_number)
 Read matrix from file in binary format.
Gan_Bool gan_mat_print (const Gan_Matrix *A, const char *prefix, int indent, const char *fmt)
 Macro: Print matrix to standard output.
Gan_Matrixgan_mat_fscanf_s (FILE *fp, const char *prefix, int prefix_len)
 Macro: Read matrix from file.
Gan_Matrixgan_mat_fread_s (FILE *fp, gan_uint32 *magic_number)
 Macro: Read matrix from file.
Gan_SquMatrixgan_squmat_fscanf_q (FILE *fp, Gan_SquMatrix *A, char *prefix, int prefix_len)
 Read square matrix from ASCII file.
Gan_Bool gan_squmat_fwrite (FILE *fp, const Gan_SquMatrix *A, gan_uint32 magic_number)
 Write square matrix to binary file.
Gan_SquMatrixgan_squmat_fread_q (FILE *fp, Gan_SquMatrix *A, gan_uint32 *magic_number)
 Read square matrix from binary file.
Gan_Bool gan_squmat_fprint (FILE *fp, const Gan_SquMatrix *A, const char *prefix, int indent, const char *fmt)
 Macro: Print square matrix to file pointer.
Gan_Bool gan_squmat_print (const Gan_SquMatrix *A, const char *prefix, int indent, const char *fmt)
 Macro: Print square matrix to standard output.
Gan_SquMatrixgan_squmat_fscanf_s (FILE *fp, const char *prefix, int prefix_len)
 Macro: Read square matrix from ASCII file.
Gan_SquMatrixgan_squmat_fread_s (FILE *fp, gan_uint32 *magic_number)
 Macro: Read square matrix from binary file. Read square matrix from file pointer fp in binary format. The magic number for the matrix is read from the file into the provided pointer.
Gan_Bool gan_matf_fprint (FILE *fp, const Gan_Matrix_f *A, const char *prefix, unsigned indent, const char *fmt)
 Print matrix to file pointer.
Gan_Matrix_fgan_matf_fscanf_q (FILE *fp, Gan_Matrix_f *A, char *prefix, int prefix_len)
 Read matrix from file.
Gan_Bool gan_matf_fwrite (FILE *fp, const Gan_Matrix_f *A, gan_uint32 magic_number)
 Print matrix to binary file pointer.
Gan_Matrix_fgan_matf_fread_q (FILE *fp, Gan_Matrix_f *A, gan_uint32 *magic_number)
 Read matrix from file in binary format.
Gan_Bool gan_matf_print (const Gan_Matrix_f *A, const char *prefix, int indent, const char *fmt)
 Macro: Print matrix to standard output.
Gan_Matrix_fgan_matf_fscanf_s (FILE *fp, const char *prefix, int prefix_len)
 Macro: Read matrix from file.
Gan_Matrix_fgan_matf_fread_s (FILE *fp, gan_uint32 *magic_number)
 Macro: Read matrix from file.
Gan_SquMatrix_fgan_squmatf_fscanf_q (FILE *fp, Gan_SquMatrix_f *A, char *prefix, int prefix_len)
 Read square matrix from ASCII file.
Gan_Bool gan_squmatf_fwrite (FILE *fp, const Gan_SquMatrix_f *A, gan_uint32 magic_number)
 Write square matrix to binary file.
Gan_SquMatrix_fgan_squmatf_fread_q (FILE *fp, Gan_SquMatrix_f *A, gan_uint32 *magic_number)
 Read square matrix from binary file.
Gan_Bool gan_squmatf_fprint (FILE *fp, const Gan_SquMatrix_f *A, const char *prefix, int indent, const char *fmt)
 Macro: Print square matrix to file pointer.
Gan_Bool gan_squmatf_print (const Gan_SquMatrix_f *A, const char *prefix, int indent, const char *fmt)
 Macro: Print square matrix to standard output.
Gan_SquMatrix_fgan_squmatf_fscanf_s (FILE *fp, const char *prefix, int prefix_len)
 Macro: Read square matrix from ASCII file.
Gan_SquMatrix_fgan_squmatf_fread_s (FILE *fp, gan_uint32 *magic_number)
 Macro: Read square matrix from binary file. Read square matrix from file pointer fp in binary format. The magic number for the matrix is read from the file into the provided pointer.

Function Documentation

Gan_Bool gan_mat_fprint FILE *  fp,
const Gan_Matrix A,
const char *  prefix,
unsigned  indent,
const char *  fmt
 

Print matrix to file pointer.

Print matrix A to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Matrix* gan_mat_fread_q FILE *  fp,
Gan_Matrix A,
gan_uint32 *  magic_number
 

Read matrix from file in binary format.

Read matrix A from file pointer fp in binary format. The magic number is read into the provided pointer. A should either be a pre-allocated matrix pointer or NULL.

Returns:
Pointer to the read matrix on success, NULL on failure.
See also:
gan_vecf_fread_s()

Gan_Matrix* gan_mat_fread_s FILE *  fp,
gan_uint32 *  magic_number
 

Macro: Read matrix from file.

Read matrix from file pointer fp in binary format. The magic number for the matrix is read from the file into the provided pointer.

Returns the read matrix on success, NULL on failure.

See also:
gan_mat_fread_q().

Gan_Matrix* gan_mat_fscanf_q FILE *  fp,
Gan_Matrix A,
char *  prefix,
int  prefix_len
 

Read matrix from file.

Read matrix A from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after "prefix" has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string. A should either be a pre-allocated matrix pointer or NULL.

Returns:
Pointer to the read matrix on success, NULL on failure.
See also:
gan_mat_fscanf_s().

Gan_Matrix* gan_mat_fscanf_s FILE *  fp,
const char *  prefix,
int  prefix_len
 

Macro: Read matrix from file.

Read matrix from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns GAN_TRUE on success, GAN_FALSE on failure.

See also:
gan_mat_fscanf_q().

Gan_Bool gan_mat_fwrite FILE *  fp,
const Gan_Matrix A,
gan_uint32  magic_number
 

Print matrix to binary file pointer.

Print matrix A to file pointer fp in binary format, with 32-bit magic number printed first.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_mat_print const Gan_Matrix A,
const char *  prefix,
int  indent,
const char *  fmt
 

Macro: Print matrix to standard output.

Print matrix A to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_matf_fprint FILE *  fp,
const Gan_Matrix_f A,
const char *  prefix,
unsigned  indent,
const char *  fmt
 

Print matrix to file pointer.

Print matrix A to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Matrix_f* gan_matf_fread_q FILE *  fp,
Gan_Matrix_f A,
gan_uint32 *  magic_number
 

Read matrix from file in binary format.

Read matrix A from file pointer fp in binary format. The magic number is read into the provided pointer. A should either be a pre-allocated matrix pointer or NULL.

Returns:
Pointer to the read matrix on success, NULL on failure.
See also:
gan_vecf_fread_s()

Gan_Matrix_f* gan_matf_fread_s FILE *  fp,
gan_uint32 *  magic_number
 

Macro: Read matrix from file.

Read matrix from file pointer fp in binary format. The magic number for the matrix is read from the file into the provided pointer.

Returns the read matrix on success, NULL on failure.

See also:
gan_matf_fread_q().

Gan_Matrix_f* gan_matf_fscanf_q FILE *  fp,
Gan_Matrix_f A,
char *  prefix,
int  prefix_len
 

Read matrix from file.

Read matrix A from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after "prefix" has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string. A should either be a pre-allocated matrix pointer or NULL.

Returns:
Pointer to the read matrix on success, NULL on failure.
See also:
gan_matf_fscanf_s().

Gan_Matrix_f* gan_matf_fscanf_s FILE *  fp,
const char *  prefix,
int  prefix_len
 

Macro: Read matrix from file.

Read matrix from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns GAN_TRUE on success, GAN_FALSE on failure.

See also:
gan_matf_fscanf_q().

Gan_Bool gan_matf_fwrite FILE *  fp,
const Gan_Matrix_f A,
gan_uint32  magic_number
 

Print matrix to binary file pointer.

Print matrix A to file pointer fp in binary format, with 32-bit magic number printed first.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_matf_print const Gan_Matrix_f A,
const char *  prefix,
int  indent,
const char *  fmt
 

Macro: Print matrix to standard output.

Print matrix A to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_squmat_fprint FILE *  fp,
const Gan_SquMatrix A,
const char *  prefix,
int  indent,
const char *  fmt
 

Macro: Print square matrix to file pointer.

Print square matrix A to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_SquMatrix* gan_squmat_fread_q FILE *  fp,
Gan_SquMatrix A,
gan_uint32 *  magic_number
 

Read square matrix from binary file.

Returns:
Read matrix on success, NULL on failure.
Read square matrix from file pointer fp in binary format into provided matrix A. The magic number for the matrix is read from the file into the provided pointer.

See also:
gan_squmatf_fread_s().

Gan_SquMatrix* gan_squmat_fread_s FILE *  fp,
gan_uint32 *  magic_number
 

Macro: Read square matrix from binary file. Read square matrix from file pointer fp in binary format. The magic number for the matrix is read from the file into the provided pointer.

Returns:
Read matrix on success, NULL on failure.
See also:
: gan_squmat_fread_q()

Gan_SquMatrix* gan_squmat_fscanf_q FILE *  fp,
Gan_SquMatrix A,
char *  prefix,
int  prefix_len
 

Read square matrix from ASCII file.

Returns:
Result matrix A. Read square matrix A from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string. A should either be a pointer to a pre-allocated square matrix or NULL.

Pointer to the read matrix on success, NULL on failure.

See also:
gan_squmatf_fscanf_s().

Gan_SquMatrix* gan_squmat_fscanf_s FILE *  fp,
const char *  prefix,
int  prefix_len
 

Macro: Read square matrix from ASCII file.

Read square matrix from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
Read matrix on success, NULL on failure.
See also:
: gan_squmat_fscanf_q()

Gan_Bool gan_squmat_fwrite FILE *  fp,
const Gan_SquMatrix A,
gan_uint32  magic_number
 

Write square matrix to binary file.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Write square matrix A in binary format to file pointer fp. The provided magic number is written as a prefix.

See also:
gan_squmatf_fread_q().

Gan_Bool gan_squmat_print const Gan_SquMatrix A,
const char *  prefix,
int  indent,
const char *  fmt
 

Macro: Print square matrix to standard output.

Print square matrix A to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Bool gan_squmatf_fprint FILE *  fp,
const Gan_SquMatrix_f A,
const char *  prefix,
int  indent,
const char *  fmt
 

Macro: Print square matrix to file pointer.

Print square matrix A to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_SquMatrix_f* gan_squmatf_fread_q FILE *  fp,
Gan_SquMatrix_f A,
gan_uint32 *  magic_number
 

Read square matrix from binary file.

Returns:
Read matrix on success, NULL on failure.
Read square matrix from file pointer fp in binary format into provided matrix A. The magic number for the matrix is read from the file into the provided pointer.

See also:
gan_squmatf_fread_s().

Gan_SquMatrix_f* gan_squmatf_fread_s FILE *  fp,
gan_uint32 *  magic_number
 

Macro: Read square matrix from binary file. Read square matrix from file pointer fp in binary format. The magic number for the matrix is read from the file into the provided pointer.

Returns:
Read matrix on success, NULL on failure.
See also:
: gan_squmatf_fread_q()

Gan_SquMatrix_f* gan_squmatf_fscanf_q FILE *  fp,
Gan_SquMatrix_f A,
char *  prefix,
int  prefix_len
 

Read square matrix from ASCII file.

Returns:
Result matrix A. Read square matrix A from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string. A should either be a pointer to a pre-allocated square matrix or NULL.

Pointer to the read matrix on success, NULL on failure.

See also:
gan_squmatf_fscanf_s().

Gan_SquMatrix_f* gan_squmatf_fscanf_s FILE *  fp,
const char *  prefix,
int  prefix_len
 

Macro: Read square matrix from ASCII file.

Read square matrix from file pointer fp. The prefix string for the matrix is read from the file into the prefix string, up to the maximum length prefix_len of the prefix string. Any remaining characters after prefix has been filled are ignored. Pass NULL for prefix and zero for prefix_len to ignore the prefix string.

Returns:
Read matrix on success, NULL on failure.
See also:
: gan_squmatf_fscanf_q()

Gan_Bool gan_squmatf_fwrite FILE *  fp,
const Gan_SquMatrix_f A,
gan_uint32  magic_number
 

Write square matrix to binary file.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Write square matrix A in binary format to file pointer fp. The provided magic number is written as a prefix.

See also:
gan_squmatf_fread_q().

Gan_Bool gan_squmatf_print const Gan_SquMatrix_f A,
const char *  prefix,
int  indent,
const char *  fmt
 

Macro: Print square matrix to standard output.

Print square matrix A to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.


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