Skip to content

Sibelius-6/matrix-toolkit

Repository files navigation

matrix-toolkit

Installation & Start-up

To install, you can download all source files by git clone https://github.com/Sibelius-6/matrix-toolkit/ then create an excutable by make.

Makefile has created an excutable called matrix. Run this executable by ./matrix, then type command help to see the following usage.

For the full usage and examples, please consult here.

Prerequisites

If you have taken first (math 136) and second (math 235) linear algebra courses, you should be fine.

left & right inverse

  • A right inverse of a non-square matrix A exists, provided A has full row rank.
  • A left inverse of a non-square matrix A exists, provided A has full column rank.

full rank defn

Other Sources

Eigen

For eigenvalues and eigenvectors calculation, it's hard to apply the technique we learned in linear algebra (charateristic polynomial). There are some good algorithms to use, like Jacobi_eigenvalue_algorithm, which could be implemented. For simplicity, I adopted one C++ library.

The descriptions can be found here. To install it, hg clone https://bitbucket.org/eigen/eigen/ . In order to succuessfuly compile (make), please be at the same directory as the whole source files.

The documentation and tutorial can be found here.

RREF

I have adopted the algorithms from here

determinant

Algorithms