MatrixArith

© 2009 John Abbott
GNU Free Documentation License, Version 1.2



CoCoALib Documentation Index

User documentation for MatrixArith

MatrixArith gathers together a number of operations on matrices; in most cases these operations are happy to accept a MatrixView (see MatrixViews) as argument.

When not specified argument is ConstMatrixView.

There are two ways of multiplying two matrices together. The infix operators return a DenseMatrix; the procedural version may be slightly faster than the infix operator.

Here are some matrix norms. These require that the matrix be over an ordered ring. Note that FrobeniusNorm2 gives the square of the Frobenius norm (so that the value surely lies in the same ring).

Here are some fairly standard functions on matrices. I suspect that the pseudo inverse

Here are some standard operations where the method used is specified explicitly. It would usually be better to use the generic operations above, as these should automatically select the most appropriate method for the given matrix.

Maintainer documentation for MatrixViews

Bugs, Shortcomings and other ideas

I just cobbled together these few lines of documentation hastily, since I noticed that the file was completely missing. Clearly further work is needed (but it's late, and I have other things to do).