LAMA
lama::CSRUtilsInterface::Reductions< ValueType > Struct Template Reference

Structure with type definitions for reduction routines. More...

#include <LAMAInterface.hpp>

Public Types

typedef ValueType(* absMaxDiffVal )(IndexType numRows, bool sortedRows, const IndexType csrIA1[], const IndexType csrJA1[], const ValueType csrValues1[], const IndexType csrIA2[], const IndexType csrJA2[], const ValueType csrValues2[])
 Get the maximal element-wise difference for two CSR matrices.

Detailed Description

template<typename ValueType>
struct lama::CSRUtilsInterface::Reductions< ValueType >

Structure with type definitions for reduction routines.


Member Typedef Documentation

template<typename ValueType >
typedef ValueType( * lama::CSRUtilsInterface::Reductions< ValueType >::absMaxDiffVal)(IndexType numRows, bool sortedRows, const IndexType csrIA1[], const IndexType csrJA1[], const ValueType csrValues1[], const IndexType csrIA2[], const IndexType csrJA2[], const ValueType csrValues2[])

Get the maximal element-wise difference for two CSR matrices.

Parameters:
[in]numRowsis number of rows for both matrices
[in]sortedRowsif true column indexes in JA arrays are sorted
[in]csrIA1,csrJA1,csrValues1is storage data of first matrix
[in]csrIA2,csrJA2,csrValues2is storage data of second matrix
Returns:
maximal value of absolute difference between two matrix elements

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