Main Page   Modules   Compound List   File List   Compound Members   File Members  

General Size Vector I/O
[General Size Vectors]


Functions

Gan_Bool gan_vec_fprint (FILE *fp, Gan_Vector *x, const char *prefix, int indent, const char *fmt)
 Print vector to file pointer.

Gan_Vectorgan_vec_fscanf_q (FILE *fp, Gan_Vector *x, char *prefix, int prefix_len)
 Read vector from file.

Gan_Bool gan_vec_fwrite (FILE *fp, Gan_Vector *x, gan_ui32 magic_number)
 Print vector to binary file pointer.

Gan_Vectorgan_vec_fread_q (FILE *fp, Gan_Vector *x, gan_ui32 *magic_number)
 Read vector from file.

Gan_Bool gan_vec_print (Gan_Vector *x, const char *prefix, int indent, const char *fmt)
 Macro: Print vector to standard output.

Gan_Vectorgan_vec_fscanf_s (FILE *fp, const char *prefix, int prefix_len)
 Macro: Read vector from file.

Gan_Vectorgan_vec_fread_s (FILE *fp, gan_ui32 *magic_number)
 Macro: Read vector from file in binary format.

Gan_Bool gan_vecf_fprint (FILE *fp, Gan_Vector_f *x, const char *prefix, int indent, const char *fmt)
 Print vector to file pointer.

Gan_Vector_fgan_vecf_fscanf_q (FILE *fp, Gan_Vector_f *x, char *prefix, int prefix_len)
 Read vector from file.

Gan_Bool gan_vecf_fwrite (FILE *fp, Gan_Vector_f *x, gan_ui32 magic_number)
 Print vector to binary file pointer.

Gan_Vector_fgan_vecf_fread_q (FILE *fp, Gan_Vector_f *x, gan_ui32 *magic_number)
 Read vector from file.

Gan_Bool gan_vecf_print (Gan_Vector_f *x, const char *prefix, int indent, const char *fmt)
 Macro: Print vector to standard output.

Gan_Vector_fgan_vecf_fscanf_s (FILE *fp, const char *prefix, int prefix_len)
 Macro: Read vector from file.

Gan_Vector_fgan_vecf_fread_s (FILE *fp, gan_ui32 *magic_number)
 Macro: Read vector from file in binary format.


Function Documentation

Gan_Bool gan_vec_fprint FILE *    fp,
Gan_Vector   x,
const char *    prefix,
int    indent,
const char *    fmt
 

Print vector to file pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Print vector x to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Gan_Vector* gan_vec_fread_q FILE *    fp,
Gan_Vector   x,
gan_ui32 *    magic_number
 

Read vector from file.

Returns:
Pointer to the read vector on success, NULL on failure.
Read vector x from file pointer fp in binary format. The magic number is read into the provided pointer. x should either be a pre-allocated vector pointer or NULL.

See also:
gan_vecf_fread_s()

Gan_Vector* gan_vec_fread_s FILE *    fp,
gan_ui32 *    magic_number
 

Macro: Read vector from file in binary format.

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

Returns:
The read vector on success, NULL on failure.
See also:
gan_vec_fread_q()

Gan_Vector* gan_vec_fscanf_q FILE *    fp,
Gan_Vector   x,
char *    prefix,
int    prefix_len
 

Read vector from file.

Read vector x 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. x should either be a pre-allocated vector pointer or NULL.

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

Gan_Vector* gan_vec_fscanf_s FILE *    fp,
const char *    prefix,
int    prefix_len
 

Macro: Read vector from file.

Read vector from file pointer fp. The prefix string for the vector 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:
The read vector on success, NULL on failure.
See also:
gan_vec_fscanf_q().

Gan_Bool gan_vec_fwrite FILE *    fp,
Gan_Vector   x,
gan_ui32    magic_number
 

Print vector to binary file pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Print vector x to file pointer fp in binary format, with 32-bit magic number printed first.

Gan_Bool gan_vec_print Gan_Vector   x,
const char *    prefix,
int    indent,
const char *    fmt
 

Macro: Print vector to standard output.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Print vector x to standard output, with prefix string prefix, indentation indent and floating-point format fmt.

Gan_Bool gan_vecf_fprint FILE *    fp,
Gan_Vector_f   x,
const char *    prefix,
int    indent,
const char *    fmt
 

Print vector to file pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Print vector x to file pointer fp, with prefix string prefix, indentation indent and floating-point format fmt.

Gan_Vector_f* gan_vecf_fread_q FILE *    fp,
Gan_Vector_f   x,
gan_ui32 *    magic_number
 

Read vector from file.

Returns:
Pointer to the read vector on success, NULL on failure.
Read vector x from file pointer fp in binary format. The magic number is read into the provided pointer. x should either be a pre-allocated vector pointer or NULL.

See also:
gan_vecf_fread_s()

Gan_Vector_f* gan_vecf_fread_s FILE *    fp,
gan_ui32 *    magic_number
 

Macro: Read vector from file in binary format.

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

Returns:
The read vector on success, NULL on failure.
See also:
gan_vecf_fread_q()

Gan_Vector_f* gan_vecf_fscanf_q FILE *    fp,
Gan_Vector_f   x,
char *    prefix,
int    prefix_len
 

Read vector from file.

Read vector x 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. x should either be a pre-allocated vector pointer or NULL.

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

Gan_Vector_f* gan_vecf_fscanf_s FILE *    fp,
const char *    prefix,
int    prefix_len
 

Macro: Read vector from file.

Read vector from file pointer fp. The prefix string for the vector 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:
The read vector on success, NULL on failure.
See also:
gan_vecf_fscanf_q().

Gan_Bool gan_vecf_fwrite FILE *    fp,
Gan_Vector_f   x,
gan_ui32    magic_number
 

Print vector to binary file pointer.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Print vector x to file pointer fp in binary format, with 32-bit magic number printed first.

Gan_Bool gan_vecf_print Gan_Vector_f   x,
const char *    prefix,
int    indent,
const char *    fmt
 

Macro: Print vector to standard output.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Print vector x to standard output, with prefix string prefix, indentation indent and floating-point format fmt.


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