LAMA
lama::DenseUtilsInterface::Counting< DenseValueType > Struct Template Reference

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.

Detailed Description

template<typename DenseValueType>
struct lama::DenseUtilsInterface::Counting< DenseValueType >

Function pointer type definitions for dense storage.


Member Typedef Documentation

template<typename DenseValueType >
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.

Parameters:
[out]csrSizesis an array that contains for each row the number of non-zero elements
[in]diagonalFlagif true the diagonal elements are counted in any case
[in]numRowsnumber of rows
[in]numColumnsnumber of columns
[in]denseValuessize is numRows x numColumns, array with all matrix elements of dense format
[in]epsis threshold when an element is to be considered as non-zero

The matrix values are stored row-wise in denseValues.


The documentation for this struct was generated from the following file: