MyraMath
Classes
diag.h File Reference

Returns the diagonal of a SparseMatrix. More...

#include <myramath/MYRAMATH_EXPORT.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::CSparseMatrixRange< Number >
 Represents a const SparseMatrixRange. More...
 

Functions

DiagonalMatrix< NumberS > myra::diag (const CSparseMatrixRange< NumberS > &A)
 Returns the diagonal of a SparseMatrix.
 
DiagonalMatrix< NumberD > myra::diag (const CSparseMatrixRange< NumberD > &A)
 Returns the diagonal of a SparseMatrix.
 
DiagonalMatrix< NumberC > myra::diag (const CSparseMatrixRange< NumberC > &A)
 Returns the diagonal of a SparseMatrix.
 
DiagonalMatrix< NumberZ > myra::diag (const CSparseMatrixRange< NumberZ > &A)
 Returns the diagonal of a SparseMatrix.
 

Detailed Description

Returns the diagonal of a SparseMatrix.