Skip to content
A light-weight linear algebra library
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
Makefile
README.md
example.c

README.md

libmatrix

A light-weight linear algebra library

Build Status

#include <stdio.h>

// Include the header
#include <matrix.h>

int main(int argc, char* argv[]) {
  // Create a 5 x 5 matrix with random values
  Matrix* m = new_rand_matrix(5, 5);

  // Scalar add 5 to each element
  sadd(m, 5);

  // Output the result to stdout
  dump(stdout, m);

  return 0;
}

TODO

  • Matrix File I/O
  • Matrix Multiplication
  • Scalar Multiplication
  • Matrix Addition
  • Scalar Addition
  • Matrix Inversion
  • Matrix Transpose
  • Matrix Determinant
  • Linear System of Eqs solver
You can’t perform that action at this time.