This library is
Run make
within the project folder.
Matrix* CreateMatrix(int n_rows, int m_cols);
int Rows(Matrix* m);
int Cols(Matrix* m);
double GetEntry(Matrix* m, int row, int col);
void SetEntry(Matrix* m, int row, int col, double value);
Matrix* SetMatrix(double* arr, int rows, int cols);
void PrintMatrix(Matrix* m);
Vector* CreateVector(int h);
void FreeVector(Vector* v);
int Height(Vector* v);
double GetElement(Vector* v, int index);
void SetElement(Vector* v, int index, double value);
Vector* SetVector(double* arr, int height);
void PrintVector(Vector* v);
Matrix* MatrixProduct(Matrix* a, Matrix* b);
Matrix* TransposeMatrix(Matrix* m);
Matrix* SubSquareMatrix(Matrix* m, int row, int col);
double Determinant(Matrix* m);
Matrix* ElementaryRowReplacement(Matrix* m, int i, double x, int j);
Matrix* ElementaryRowInterchange(Matrix* m, int i, int j);
Matrix* ElementaryRowScaling(Matrix* m, int i, double x);
Matrix* GaussianElimination(Matrix* m);
Matrix* RREF(Matrix* m);
Matrix* InverseMatrix(Matrix* m);
Matrix* PolynomialRegression(double x[], double y[], int points, int dimension);
void PrintMatrixEquation(Matrix* m);