LAMA
|
Function pointer type definitions for dense storage. More...
#include <LAMAInterface.hpp>
Public Types | |
typedef void(* | getCSRSizes )(IndexType csrSizes[], bool diagonalFlag, const IndexType numRows, const IndexType numColumns, const DenseValueType denseValues[], const DenseValueType eps) |
Counting non-zero values in dense storage for conversion to CSR. |
Function pointer type definitions for dense storage.
typedef void( * lama::DenseUtilsInterface::Counting< DenseValueType >::getCSRSizes)(IndexType csrSizes[], bool diagonalFlag, const IndexType numRows, const IndexType numColumns, const DenseValueType denseValues[], const DenseValueType eps) |
Counting non-zero values in dense storage for conversion to CSR.
[out] | csrSizes | is an array that contains for each row the number of non-zero elements |
[in] | diagonalFlag | if true the diagonal elements are counted in any case |
[in] | numRows | number of rows |
[in] | numColumns | number of columns |
[in] | denseValues | size is numRows x numColumns, array with all matrix elements of dense format |
[in] | eps | is threshold when an element is to be considered as non-zero |
The matrix values are stored row-wise in denseValues.