Fixed size matrices (original) (raw)

next up previous contents
Next: Definitions of fixed size Up: Fixed size matrices and Previous: Setting/extracting parts of fixed Contents Matrices of sizes $2\times 2$, $2\times 3$, $2\times 4$, $3\times 3$,$3\times 4$ and $4\times 4$ are represented by specific structures in Gandalf. There is a large set of functions which is repeated across every size of matrix. There is also a set of functions specific to square matrices. In both cases we will choose a single size of matrix and describe the functions available for that size. The sizes we will use are $3\times 4$matrices for the functions available to every size of matrix, and $3\times 3$matrices for the functions specific to square matrices.


Subsections * Definitions of fixed size matrice * Creating and accessing fixed size matrices * Fixed size matrix addition * Fixed size matrix subtraction * Rescaling a fixed size matrix * Transposing a fixed size matrix * Fixed size vector outer products * Fixed size matrix/vector multiplication * Fixed size matrix/matrix multiplication * Fixed size matrix inverse * Determinant, trace, norms of fixed size matrix * Fixed size matrix decompositions * Fixed size matrix file I/O * Conversion from general to fixed size matrix * Single precision fixed size matrices

2006-03-17