LAMA
lama::ELLUtilsInterface::Getter< ValueType, OtherValueType > Struct Template Reference

#include <LAMAInterface.hpp>

Public Types

typedef void(* getRow )(OtherValueType *row, const IndexType i, const IndexType numRows, const IndexType numColumns, const IndexType *ia, const IndexType *ja, const ValueType *values)
 Returns a row of the matrix as dense vector.
typedef OtherValueType(* getValue )(const IndexType i, const IndexType j, const IndexType numRows, const IndexType *ia, const IndexType *ja, const ValueType *values)
 Returns one element of the matrix.

template<typename ValueType, typename OtherValueType>
struct lama::ELLUtilsInterface::Getter< ValueType, OtherValueType >


Member Typedef Documentation

template<typename ValueType , typename OtherValueType >
typedef void( * lama::ELLUtilsInterface::Getter< ValueType, OtherValueType >::getRow)(OtherValueType *row, const IndexType i, const IndexType numRows, const IndexType numColumns, const IndexType *ia, const IndexType *ja, const ValueType *values)

Returns a row of the matrix as dense vector.

Parameters:
[out]rowas dense vector that will be returned
[in]iis the row that should be returned
[in]numRowsis the number of rows of the ELL matrix
[in]numColumsis size of ia
[in]iais the ELL sizes array
[in]jais the ELL ja array
[in]valuesis the ELL values array
template<typename ValueType , typename OtherValueType >
typedef OtherValueType( * lama::ELLUtilsInterface::Getter< ValueType, OtherValueType >::getValue)(const IndexType i, const IndexType j, const IndexType numRows, const IndexType *ia, const IndexType *ja, const ValueType *values)

Returns one element of the matrix.

Parameters:
[in]iis the row of the returned element
[in]jis the column of the returned element
[in]numRowsis the number of rows of the matrix
[in]iais the ELL sizes array
[in]jais the ELL ja array
[in]valuesis the ELL values array

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