mxlib: a matrix function library
2015.01.25.
Introduction
This was one of the projects I could've chosen as my homework in my first semester, and I decided to do it as a side project after finishing my math exam covering the topic of matrices.
The original assignment specified a function library that can handle matrix operations on matrices of any size, and is able to output matrices to files, as well as read them back.
Description
The matrices in the library are structures containing the width and height of the matrix, alongside a pointer to the dynamically allocated two-dimensional array that the values of the matrix are stored in.
Since the matrices are dynamically allocated, you'll always have to use the provided functions to delete them to prevent memory leak.
You can find all other information on how to use the library in the .c source file.
Downloads
The main.c file included below contains examples on how to use the functions for some operations with matrices (calculating inverses, multiplication, solving systems of linear equations, etc.).
Changelog
2015.04.28.
Probably slightly improved speed of matrix multiply operations. I think. Maybe.