Bachelor's degree final project  v1.0
Faculty of Mathematics, University of Barcelona
Functions
src/include/load.h File Reference

Header of load. More...

#include <stdio.h>
+ Include dependency graph for load.h:
+ This graph shows which files directly or indirectly include this file:

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

int load_matrix ( double ** const  A,
FILE * const  f 
)

Function that loads the values of a matrix in a given file.

Parameters:
[in]APointer to a matrix
[in]fOutput file
Return values:
0If some error has occurred in some moment of the process
1Otherwise
Precondition:
The pointers are not NULL
Postcondition:
The file with name has been created or modified with the result

+ Here is the caller graph for this function:

int load_vector ( double * const  b,
FILE * const  f 
)

Function that loads the values of a vector in a given file.

Parameters:
[in]bPointer to a vector
[in]fOutput file
Return values:
0If some error has occurred in some moment of the process
1Otherwise
Precondition:
The pointers are not NULL
Postcondition:
The file with name has been created or modified with the result

+ Here is the caller graph for this function:

int loadas_matrix ( double ** const  A,
char * const  name 
)

Function that loads the values of a matrix in a given filename.

Parameters:
[in]APointer to a matrix
[in]nameFilename
Return values:
0If some error has occurred in some moment of the process
1Otherwise
Precondition:
The pointers are not NULL
Postcondition:
The file with name has been created or modified with the result

References load_matrix().

+ Here is the call graph for this function:

int loadas_vector ( double * const  b,
char * const  name 
)

Function that loads the values of a vector in a given filename.

Parameters:
[in]bPointer to a vector
[in]nameFilename
Return values:
0If some error has occurred in some moment of the process
1Otherwise
Precondition:
The pointers are not NULL
Postcondition:
The file with name has been created or modified with the result

References load_vector().

+ Here is the call graph for this function: