Removed placeholder function
This commit is contained in:
parent
0a64f5fa59
commit
5c17bf6837
9
matrix.c
9
matrix.c
@ -1,15 +1,6 @@
|
|||||||
#include "matrix.h"
|
#include "matrix.h"
|
||||||
|
|
||||||
|
|
||||||
void showMatrix(matrix *m){
|
|
||||||
for(int i = 0; i < m->rows; ++i){
|
|
||||||
for(int j = 0; j < m->cols; ++j){
|
|
||||||
printf("%.1f\t", m->data[i][j]);
|
|
||||||
}
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
matrix *newMatrix(int rows, int cols){
|
matrix *newMatrix(int rows, int cols){
|
||||||
matrix *m = malloc(sizeof(matrix));
|
matrix *m = malloc(sizeof(matrix));
|
||||||
m->rows = rows;
|
m->rows = rows;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user