Header of load.
More...
#include <stdio.h>
Go to the source code of this file.
Functions |
int | load_vector (double *const, FILE *const) |
| Function that loads the values of a vector in a given file.
|
int | loadas_vector (double *const, char *const) |
| Function that loads the values of a vector in a given filename.
|
int | load_matrix (double **const, FILE *const) |
| Function that loads the values of a matrix in a given file.
|
int | loadas_matrix (double **const, char *const) |
| Function that loads the values of a matrix in a given filename.
|
Detailed Description
Header of load.
- Author:
- Joan Gimeno
- Date:
- 22/05/2014 (start)
- Version:
- 1.0
Function Documentation
Function that loads the values of a matrix in a given file.
- Parameters:
-
[in] | A | Pointer to a matrix |
[in] | f | Output file |
- Return values:
-
0 | If some error has occurred in some moment of the process |
1 | Otherwise |
- Precondition:
- The pointers are not NULL
- Postcondition:
- The file with name has been created or modified with the result
Function that loads the values of a vector in a given file.
- Parameters:
-
[in] | b | Pointer to a vector |
[in] | f | Output file |
- Return values:
-
0 | If some error has occurred in some moment of the process |
1 | Otherwise |
- Precondition:
- The pointers are not NULL
- Postcondition:
- The file with name has been created or modified with the result
Function that loads the values of a matrix in a given filename.
- Parameters:
-
[in] | A | Pointer to a matrix |
[in] | name | Filename |
- Return values:
-
0 | If some error has occurred in some moment of the process |
1 | Otherwise |
- Precondition:
- The pointers are not NULL
- Postcondition:
- The file with name has been created or modified with the result
References load_matrix().
Function that loads the values of a vector in a given filename.
- Parameters:
-
[in] | b | Pointer to a vector |
[in] | name | Filename |
- Return values:
-
0 | If some error has occurred in some moment of the process |
1 | Otherwise |
- Precondition:
- The pointers are not NULL
- Postcondition:
- The file with name has been created or modified with the result
References load_vector().