LAMA
|
#include <LAMAInterface.hpp>
Public Types | |
typedef void(* | getCSRSizes )(IndexType csrSizes[], bool diagonalFlag, const IndexType numRows, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffsets[], const ValueType diaValues[], const ValueType eps) |
Type definition of function pointer for counting sparse values in DIA storage. |
typedef void( * lama::DIAUtilsInterface::Counting< ValueType >::getCSRSizes)(IndexType csrSizes[], bool diagonalFlag, const IndexType numRows, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffsets[], const ValueType diaValues[], const ValueType eps) |
Type definition of function pointer for counting sparse values in DIA storage.
[out] | csrSizes | array with number of non-zero entries in each row |
[in] | diagonalFlag | if true count also zero diagonal elements |
[in] | numRows | is the number of rows |
[in] | numColumns | is the number of columns |
[in] | numDiagonals | number of diagonals used in the DIA format |
[in] | diaOffsets | diagonal offsets, size is numDiagonals |
[in] | diaValues | are stored values of the diagonals |
[in] | eps | threshold value when an element should be considered as zero |
Note: the diagonals might contain zero entries so the number of non-zero elements might be less than number of stored elements