Linear Algebra and the C Language
Wikibooks Contributors Present:
Linear Algebra and the C Language
This book provides a library for real matrices in C language.
The aim of this book is to provide real matrices in C language, to familiarize yourself with linear algebra.
Start by downloading the library (2 Hours!).
The next step is to study the properties and applications, once the entire library has been downloaded.
To successfully work through this book, it is necessary to be familiar with the concepts of Linear Algebra presented and have a good foundation in C Programming.
Contents
Properties and Applications: (The library see below)
- Utilities
- Utilities
- Matrices (M)
- Working with matrices (M)
- Create a matrix (M)
- Print a matrix (M)
- Print a matrix to a file (M)
- Print a matrix for Octave: (M)
- Copy a matrix (M)
- Random matrices (M)
- Choose Your Values (M)
- Array of matrices (M)
- Print row vectors: (M)
- Basic operations on matrices (M)
- Basic operations (M)
- The trace function (M)
- Mathematic Applications: (M)
- Identity matrix (M)
- Triangular matrices (M)
- Commutative matrices (M)
- Similar matrices (M)
- Symmetric matrices (M)
- Skew-symmetric matrices (M)
- Centrosymmetric matrices (M)
- Positive-definite matrices (M)
- Negative-definite matrices (M)
- Hankel matrices (M)
- Toeplitz matrices (M)
- Taylor series: Exponential function (M)
- Graphics Applications: (M)
- Working with matrices (M)
- Determinant (Det)
- Determinant (Det)
- Elementary operations (Det)
- Intermediate functions (Det)
- Some properties (Det)
- Graphics Applications: (Det)
- The adjoint function (Det)
- The cross product function (Det)
- Gauss-Jordan Total Pivoting (TP)
- Gauss-Jordan Total Pivoting (TP)
- Free Variables (TP)
- The Inverse (TP)
- Applications: (TP)
- Graphics Applications: (TP)
- Gauss-Jordan Partial Pivoting (PP)
- Gauss-Jordan Partial Pivoting (PP)
- Free Variables (PP)
- Applications: (PP)
- Mathematic Applications: (PP)
- Find a basis for ... (PP)
- Change of basis (PP)
- Dot product (Dp)
- Dot product (Dp)
- Some properties (Dp)
- Orthogonal matrix (Q)
- Orthogonal matrices (Q)
- QR Decomposition (QR)
- QR Decomposition (QR)
- Applications: (QR)
- Graphics Applications: (QR)
- Eigenvalues Eigenvector (eigen)
- Eigenvalues Eigenvector (eigen)
- Some properties (eigen)
- Mathematic Applications: (eigen)
- Matrix functions (eigen)
- Graphics Applications: (eigen)
- The Quadratic forms: M[R2,C2] (eigen)
- The Quadratic forms: M[R3,C3] (eigen)
- The Projection of a plane onto a line (eigen)
- The Projection of a space onto a plan (eigen)
- The Projection of a space onto a hyperplan (eigen)
- SVD: Rn ≥ Cn
- SVD: Rn ≥ Cn
- SVD: Cn > Rn
- SVD: Cn > Rn
- Pseudo-Inverse
- Pseudo-Inverse
- Applications: Pseudo-Inverse
- Network analysis (Left inverse)
- Analysis of an electrical circuit (Left inverse)
- Graphics Applications: Pseudo-Inverse
- The coefficients of a polynomial (Left inverse)
- The coefficients of a conic (Left inverse)
- The coefficients of a circle (Left inverse)
- Applications: Pseudo-Inverse
The library
The library's construction is not standard. You can compile the C file directly. The functions are in the h files.
- To access to the library, be sure to use
#include "v_a.h"in the C source files.
- Utilities
- Matrices
- Determinant
- Gauss-Jordan
- Dot product