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

Define structure that contains type definitions for the function pointers. More...

#include <LAMAInterface.hpp>

Public Types

typedef void(* convertCSR2CSC )(IndexType cscIA[], IndexType cscJA[], ValueType cscValues[], const IndexType csrIA[], const IndexType csrJA[], const ValueType csrValues[], IndexType numRows, IndexType numColumns, IndexType numValues)
 Function pointer for CSR to CSC conversion routine.

Detailed Description

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

Define structure that contains type definitions for the function pointers.

Template Parameters:
ValueTypespecifies the value type used in the arrays.

The structure is needed as type definition templates are unsupported in C++.


Member Typedef Documentation

template<typename ValueType >
typedef void( * lama::CSRUtilsInterface::Transpose< ValueType >::convertCSR2CSC)(IndexType cscIA[], IndexType cscJA[], ValueType cscValues[], const IndexType csrIA[], const IndexType csrJA[], const ValueType csrValues[], IndexType numRows, IndexType numColumns, IndexType numValues)

Function pointer for CSR to CSC conversion routine.

Parameters:
[out]cscIA,cscJA,cscValuesis CSC output data
[in]csrIA,csrJA,csrValuesis CSR input data
numRowsx numColumns is shape of input CSR matrix

Arrays must be big enough for the corresponing sizes.


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