MyraMath
Classes
inverse.h File Reference

Overwrites a LowerMatrix, DiagonalMatrix, or square Matrix with its own inverse. Or, returns it as a copy. More...

#include <myramath/utility/Number.h>
Include dependency graph for inverse.h:

Go to the source code of this file.

Classes

class  myra::Matrix< Number >
 Tabulates an IxJ matrix. Allows random access, has column major layout to be compatible with BLAS/LAPACK. More...
 
class  myra::CMatrixRange< Number >
 Represents a const MatrixRange. More...
 
class  myra::MatrixRange< Number >
 Represents a mutable MatrixRange. More...
 
class  myra::LowerMatrix< Number >
 Stores a lower triangular matrix in rectangular packed format. More...
 
class  myra::LowerMatrixRange< Number >
 Represents a mutable LowerMatrixRange. More...
 
class  myra::DiagonalMatrix< Number >
 Tabulates the values of a square NxN diagonal matrix. Allows random access, but only on the diagonal. More...
 

Functions

void myra::invert_inplace (const MatrixRange< NumberS > &A)
 Overwrites a square Matrix A with its inverse.
 
void myra::invert_inplace (const MatrixRange< NumberD > &A)
 Overwrites a square Matrix A with its inverse.
 
void myra::invert_inplace (const MatrixRange< NumberC > &A)
 Overwrites a square Matrix A with its inverse.
 
void myra::invert_inplace (const MatrixRange< NumberZ > &A)
 Overwrites a square Matrix A with its inverse.
 
Matrix< NumberS > myra::inverse (const CMatrixRange< NumberS > &A)
 Returns the inverse of a square Matrix A.
 
Matrix< NumberD > myra::inverse (const CMatrixRange< NumberD > &A)
 Returns the inverse of a square Matrix A.
 
Matrix< NumberC > myra::inverse (const CMatrixRange< NumberC > &A)
 Returns the inverse of a square Matrix A.
 
Matrix< NumberZ > myra::inverse (const CMatrixRange< NumberZ > &A)
 Returns the inverse of a square Matrix A.
 
void myra::invert_inplace (DiagonalMatrix< NumberS > &A)
 Overwrites a DiagonalMatrix A with its inverse.
 
void myra::invert_inplace (DiagonalMatrix< NumberD > &A)
 Overwrites a DiagonalMatrix A with its inverse.
 
void myra::invert_inplace (DiagonalMatrix< NumberC > &A)
 Overwrites a DiagonalMatrix A with its inverse.
 
void myra::invert_inplace (DiagonalMatrix< NumberZ > &A)
 Overwrites a DiagonalMatrix A with its inverse.
 
DiagonalMatrix< NumberS > myra::inverse (const DiagonalMatrix< NumberS > &A)
 Returns the inverse of a DiagonalMatrix A.
 
DiagonalMatrix< NumberD > myra::inverse (const DiagonalMatrix< NumberD > &A)
 Returns the inverse of a DiagonalMatrix A.
 
DiagonalMatrix< NumberC > myra::inverse (const DiagonalMatrix< NumberC > &A)
 Returns the inverse of a DiagonalMatrix A.
 
DiagonalMatrix< NumberZ > myra::inverse (const DiagonalMatrix< NumberZ > &A)
 Returns the inverse of a DiagonalMatrix A.
 
void myra::invert_inplace (const LowerMatrixRange< NumberS > &A)
 Overwrites a LowerMatrix A with its inverse.
 
void myra::invert_inplace (const LowerMatrixRange< NumberD > &A)
 Overwrites a LowerMatrix A with its inverse.
 
void myra::invert_inplace (const LowerMatrixRange< NumberC > &A)
 Overwrites a LowerMatrix A with its inverse.
 
void myra::invert_inplace (const LowerMatrixRange< NumberZ > &A)
 Overwrites a LowerMatrix A with its inverse.
 
LowerMatrix< NumberS > myra::inverse (const LowerMatrix< NumberS > &A)
 Returns the inverse of a LowerMatrix A.
 
LowerMatrix< NumberD > myra::inverse (const LowerMatrix< NumberD > &A)
 Returns the inverse of a LowerMatrix A.
 
LowerMatrix< NumberC > myra::inverse (const LowerMatrix< NumberC > &A)
 Returns the inverse of a LowerMatrix A.
 
LowerMatrix< NumberZ > myra::inverse (const LowerMatrix< NumberZ > &A)
 Returns the inverse of a LowerMatrix A.
 

Detailed Description

Overwrites a LowerMatrix, DiagonalMatrix, or square Matrix with its own inverse. Or, returns it as a copy.