struct matrix Matrix
Definition: matrix.h:16
void matrix_free(Matrix *matrix)
Free memory of the matrix.
Matrix * matrix_create(int m, int n)
Create a new matrix.
void matrix_set(Matrix *matrix, int i, int j, float v)
Set a value on position(i,j) of the matrix.
int matrix_lines(Matrix *matrix)
Get the number of lines of the matrix.
float matrix_get(Matrix *matrix, int i, int j)
int matrix_columns(Matrix *matrix)
Get the number of columns of the matrix.