MyraMath
Classes
diag.h File Reference

Returns the diagonal of a dense Matrix or LowerMatrix. More...

#include <myramath/utility/detail/LIBPUBLIC.h>
#include <myramath/utility/Number.h>
Include dependency graph for diag.h:

Go to the source code of this file.

Classes

class  myra::DiagonalMatrix< Number >
 Tabulates the values of a square NxN diagonal matrix. Allows random access, but only on the diagonal. More...
 
class  myra::CMatrixRange< Number >
 Represents a const MatrixRange. More...
 
class  myra::CLowerMatrixRange< Number >
 Represents a const LowerMatrixRange. More...
 
class  myra::CVectorRange< Number >
 Represents a const VectorRange. More...
 

Functions

DiagonalMatrix< NumberS > myra::diag (const CMatrixRange< NumberS > &A)
 Returns the diagonal of a dense Matrix.
 
DiagonalMatrix< NumberD > myra::diag (const CMatrixRange< NumberD > &A)
 Returns the diagonal of a dense Matrix.
 
DiagonalMatrix< NumberC > myra::diag (const CMatrixRange< NumberC > &A)
 Returns the diagonal of a dense Matrix.
 
DiagonalMatrix< NumberZ > myra::diag (const CMatrixRange< NumberZ > &A)
 Returns the diagonal of a dense Matrix.
 
DiagonalMatrix< NumberS > myra::diag (const CLowerMatrixRange< NumberS > &A)
 Returns the diagonal of a dense LowerMatrix.
 
DiagonalMatrix< NumberD > myra::diag (const CLowerMatrixRange< NumberD > &A)
 Returns the diagonal of a dense LowerMatrix.
 
DiagonalMatrix< NumberC > myra::diag (const CLowerMatrixRange< NumberC > &A)
 Returns the diagonal of a dense LowerMatrix.
 
DiagonalMatrix< NumberZ > myra::diag (const CLowerMatrixRange< NumberZ > &A)
 Returns the diagonal of a dense LowerMatrix.
 
DiagonalMatrix< NumberS > myra::diag (const CVectorRange< NumberS > &x)
 Populates a DiagonalMatrix with the entries of a Vector.
 
DiagonalMatrix< NumberD > myra::diag (const CVectorRange< NumberD > &x)
 Populates a DiagonalMatrix with the entries of a Vector.
 
DiagonalMatrix< NumberC > myra::diag (const CVectorRange< NumberC > &x)
 Populates a DiagonalMatrix with the entries of a Vector.
 
DiagonalMatrix< NumberZ > myra::diag (const CVectorRange< NumberZ > &x)
 Populates a DiagonalMatrix with the entries of a Vector.
 

Detailed Description

Returns the diagonal of a dense Matrix or LowerMatrix.