15 lines
No EOL
429 B
C
15 lines
No EOL
429 B
C
#include <stdio.h>
|
|
|
|
typedef struct {
|
|
int rows, columns;
|
|
double **numbers;
|
|
} Matrix;
|
|
|
|
Matrix* matrix_create(int rows, int columns);
|
|
void matrix_fill(Matrix* matrix, double value);
|
|
void matrix_free(Matrix* matrix);
|
|
void matrix_print(Matrix *matrix);
|
|
Matrix* matrix_copy(Matrix *matrix);
|
|
void matrix_save(Matrix* matrix, char* file_string);
|
|
Matrix* matrix_load(char* file_string);
|
|
Matrix* load_next_matrix(FILE * save_file); |