MyraMath
Classes
threshold.h File Reference

Replaces small values with explicit zeros. More...

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

Go to the source code of this file.

Classes

class  myra::MatrixRange< Number >
 Represents a mutable MatrixRange. More...
 
class  myra::VectorRange< Number >
 Represents a mutable VectorRange. More...
 
class  myra::LowerMatrixRange< Number >
 Represents a mutable LowerMatrixRange. More...
 
class  myra::DiagonalMatrixRange< Number >
 Represents a mutable DiagonalMatrixRange. More...
 
class  myra::CMatrixRange< Number >
 Represents a const MatrixRange. More...
 
class  myra::CVectorRange< Number >
 Represents a const VectorRange. More...
 
class  myra::CLowerMatrixRange< Number >
 Represents a const LowerMatrixRange. More...
 
class  myra::CDiagonalMatrixRange< Number >
 Represents a const DiagonalMatrixRange. More...
 
class  myra::Matrix< Number >
 Tabulates an IxJ matrix. Allows random access, has column major layout to be compatible with BLAS/LAPACK. More...
 
class  myra::Vector< Number >
 Tabulates a vector of length N, allows random access. More...
 
class  myra::LowerMatrix< Number >
 Stores a lower triangular matrix in rectangular packed format. 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::threshold_inplace (const MatrixRange< NumberS > &A, float tolerance)
 Replaces small values of a Matrix with explicit zeros.
 
void myra::threshold_inplace (const MatrixRange< NumberD > &A, double tolerance)
 Replaces small values of a Matrix with explicit zeros.
 
void myra::threshold_inplace (const MatrixRange< NumberC > &A, float tolerance)
 Replaces small values of a Matrix with explicit zeros.
 
void myra::threshold_inplace (const MatrixRange< NumberZ > &A, double tolerance)
 Replaces small values of a Matrix with explicit zeros.
 
void myra::threshold_inplace (const VectorRange< NumberS > &x, float tolerance)
 Replaces small values of a Vector with explicit zeros.
 
void myra::threshold_inplace (const VectorRange< NumberD > &x, double tolerance)
 Replaces small values of a Vector with explicit zeros.
 
void myra::threshold_inplace (const VectorRange< NumberC > &x, float tolerance)
 Replaces small values of a Vector with explicit zeros.
 
void myra::threshold_inplace (const VectorRange< NumberZ > &x, double tolerance)
 Replaces small values of a Vector with explicit zeros.
 
void myra::threshold_inplace (const LowerMatrixRange< NumberS > &L, float tolerance)
 Replaces small values of a LowerMatrix with explicit zeros.
 
void myra::threshold_inplace (const LowerMatrixRange< NumberD > &L, double tolerance)
 Replaces small values of a LowerMatrix with explicit zeros.
 
void myra::threshold_inplace (const LowerMatrixRange< NumberC > &L, float tolerance)
 Replaces small values of a LowerMatrix with explicit zeros.
 
void myra::threshold_inplace (const LowerMatrixRange< NumberZ > &L, double tolerance)
 Replaces small values of a LowerMatrix with explicit zeros.
 
void myra::threshold_inplace (const DiagonalMatrixRange< NumberS > &D, float tolerance)
 Replaces small values of a DiagonalMatrix with explicit zeros.
 
void myra::threshold_inplace (const DiagonalMatrixRange< NumberD > &D, double tolerance)
 Replaces small values of a DiagonalMatrix with explicit zeros.
 
void myra::threshold_inplace (const DiagonalMatrixRange< NumberC > &D, float tolerance)
 Replaces small values of a DiagonalMatrix with explicit zeros.
 
void myra::threshold_inplace (const DiagonalMatrixRange< NumberZ > &D, double tolerance)
 Replaces small values of a DiagonalMatrix with explicit zeros.
 
Matrix< NumberS > myra::threshold (const CMatrixRange< NumberS > &A, float tolerance)
 Returns a threshold()'d copy of a Matrix.
 
Matrix< NumberD > myra::threshold (const CMatrixRange< NumberD > &A, double tolerance)
 Returns a threshold()'d copy of a Matrix.
 
Matrix< NumberC > myra::threshold (const CMatrixRange< NumberC > &A, float tolerance)
 Returns a threshold()'d copy of a Matrix.
 
Matrix< NumberZ > myra::threshold (const CMatrixRange< NumberZ > &A, double tolerance)
 Returns a threshold()'d copy of a Matrix.
 
Vector< NumberS > myra::threshold (const CVectorRange< NumberS > &x, float tolerance)
 Returns a threshold()'d copy of a Vector.
 
Vector< NumberD > myra::threshold (const CVectorRange< NumberD > &x, double tolerance)
 Returns a threshold()'d copy of a Vector.
 
Vector< NumberC > myra::threshold (const CVectorRange< NumberC > &x, float tolerance)
 Returns a threshold()'d copy of a Vector.
 
Vector< NumberZ > myra::threshold (const CVectorRange< NumberZ > &x, double tolerance)
 Returns a threshold()'d copy of a Vector.
 
LowerMatrix< NumberS > myra::threshold (const CLowerMatrixRange< NumberS > &L, float tolerance)
 Returns a threshold()'d copy of a LowerMatrix.
 
LowerMatrix< NumberD > myra::threshold (const CLowerMatrixRange< NumberD > &L, double tolerance)
 Returns a threshold()'d copy of a LowerMatrix.
 
LowerMatrix< NumberC > myra::threshold (const CLowerMatrixRange< NumberC > &L, float tolerance)
 Returns a threshold()'d copy of a LowerMatrix.
 
LowerMatrix< NumberZ > myra::threshold (const CLowerMatrixRange< NumberZ > &L, double tolerance)
 Returns a threshold()'d copy of a LowerMatrix.
 
DiagonalMatrix< NumberS > myra::threshold (const CDiagonalMatrixRange< NumberS > &D, float tolerance)
 Returns a threshold()'d copy of a DiagonalMatrix.
 
DiagonalMatrix< NumberD > myra::threshold (const CDiagonalMatrixRange< NumberD > &D, double tolerance)
 Returns a threshold()'d copy of a DiagonalMatrix.
 
DiagonalMatrix< NumberC > myra::threshold (const CDiagonalMatrixRange< NumberC > &D, float tolerance)
 Returns a threshold()'d copy of a DiagonalMatrix.
 
DiagonalMatrix< NumberZ > myra::threshold (const CDiagonalMatrixRange< NumberZ > &D, double tolerance)
 Returns a threshold()'d copy of a DiagonalMatrix.
 

Detailed Description

Replaces small values with explicit zeros.