forked from jcchurch/C-Linear-Algebra
-
Notifications
You must be signed in to change notification settings - Fork 0
CharleySchaefer/C-Linear-Algebra
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is my set of C libraries for doing simple matrix operations and
linear algebra (solving systems of linear equations, eigenvalues, and
matrix inverses).
Here are the basic operations that this library hopes to accomplish:
- Matrix File IO
- Matrix Read (to read a matrix from a file)
- Matrix Copy (to duplicate an existing matrix)
- Matrix Make (to create an n-by-p matrix of Zeros)
- Matrix Free (to release memory)
- Matrix Write (to write to a file)
- Matrix Print (to display a matrix on the screen)
- Simple Matrix Operations
- Identity Matrices
- Matrix Trace (Sum of elements along the diagonal)
- Matrix Transpose (To flip a matrix along the diagonal)
- Matrix Mean (returns the average of each column in a matrix)
- Matrix Multiplication
- Matrix Scaling
- Matrix Covariance
- Matrix Dot Product
- Matrix Dot Diagonal (computes the dot product of the diagonals of two matrices)
- Advanced Matrix Operations
- Singular Value Decomposition
- Gram-Schmidt (For orthonormalising a set of vectors)
- The Power Method (For determining the largest eigenvalue of a large matrix)
- Francis QR Step
- Eigenvalues
- L2-norm distance measures (simiar to Matlab's pdist)
- LU Decomposition of a matrix
- Matrix Determinates
- Matrix Inverts
- Matrix Solver
- Always nice to have:
- Quicksort (and who doesn't love quicksort)
About
My personal set of C libraries for linear algebra computation based on The Matrix Cookbook and Numerical Recipes in C.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 97.8%
- C++ 1.3%
- Makefile 0.9%