#include "toeplitz.h"
Go to the source code of this file.
Functions | |
int | readInput (int *n, T **t, FILE *file) |
void | print_vector (const char *name, T *v, int n) |
void | print_matrix (const char *name, T *m, int rows, int cols, int lda) |
Definition in file utils.c.
void print_matrix | ( | const char * | name, | |
T * | m, | |||
int | rows, | |||
int | cols, | |||
int | lda | |||
) |
void print_vector | ( | const char * | name, | |
T * | v, | |||
int | n | |||
) |
int readInput | ( | int * | n, | |
T ** | t, | |||
FILE * | file | |||
) |
Auxiliar function for reading input data from standard input.
n | Pointer to variable that will store input data size. | |
t | Pointer to variable that will store input data vector. | |
file | File where contents should be read from. |
1
if successful, 0
otherwise.