Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.
/ linalg Public archive

Library in C for basic linear algebra functions.

Notifications You must be signed in to change notification settings

hrishitchaudhuri/linalg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LinAlg

1. Using LinAlg


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!



2. What's in LinAlg?


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



3. Future Work + Issues


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 :)