LinAlg is an implementation of basic linear algebra functions written in C. Right now, the code contains functions written for basic vector operations, real and complex matrix operations, and Cramer's rule for solving systems of linear equations.
To use LinAlg, import the library/src
files and follow the syntax to import the header file given in the library/tests/example.c
file. We recommend moving the library/src
folder to your working directory and including the header file with #include"src/lina.h"
. Nothing could be easier!
We've provided you with an example file to see the available operations. To run the example file, cd into the library
folder like so:
cd library/
and run the Makefile:
make
Boom. That's it. Oh, just, uh, remember to clean up afterward so your working directory doesn't get TOO messy.
make clean
If you find any issues in the executable code, feel free to raise them under the Issues tab. As for future work, we'll be looking at more complicated linear algebra operations and keep updating this repository as we find them. Someday, we might even provide documentation! Keep your fingers crossed :)