These functions are mainly for tutorial purposes in learning matrix algebra ideas using R. In some cases, functions are provided for concepts available elsewhere in R, but where the function call or name is not obvious. In other cases, functions are provided to show or demonstrate an algorithm. In addition, a collection of functions are provided for drawing vector diagrams in 2D and 3D.

These are not meant for production uses. Other methods are more efficient for larger problems.

The functions in this package are grouped under the following topics

Convenience functions

Determinants: functions for calculating determinants by cofactor expansion

Elementary row operations: functions for solving linear equations "manually" by the steps used in row echelon form and Gaussian elimination

Linear equations: functions to illustrate linear equations of the form $A x = b$

Gaussian elimination: functions for illustrating Gaussian elimination for solving systems of linear equations of the form $A x = b$.

Eigenvalues: functions to illustrate the algorithms for calculating eigenvalues and eigenvectors

Vector diagrams: functions for drawing vector diagrams in 2D and 3D

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.