LAMA
lama::JDSUtilsInterface::Conversions< JDSValueType, CSRValueType > Struct Template Reference

#include <LAMAInterface.hpp>

Public Types

typedef void(* getCSRValues )(IndexType csrJA[], CSRValueType csrValues[], const IndexType csrIA[], const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsILG[], const IndexType jdsDLG[], const IndexType jdsJA[], const JDSValueType jdsValues[])
 Conversion of JDS storage data to CSR data.
typedef void(* setCSRValues )(IndexType jdsJA[], JDSValueType jdsValues[], const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsILG[], const IndexType jdsDLG[], const IndexType csrIA[], const IndexType csrJA[], const CSRValueType csrValues[])
 Conversion of CSR storage data to JDS data.

template<typename JDSValueType, typename CSRValueType>
struct lama::JDSUtilsInterface::Conversions< JDSValueType, CSRValueType >


Member Typedef Documentation

template<typename JDSValueType , typename CSRValueType >
typedef void( * lama::JDSUtilsInterface::Conversions< JDSValueType, CSRValueType >::getCSRValues)(IndexType csrJA[], CSRValueType csrValues[], const IndexType csrIA[], const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsILG[], const IndexType jdsDLG[], const IndexType jdsJA[], const JDSValueType jdsValues[])

Conversion of JDS storage data to CSR data.

Parameters:
[out]csrJAis array with column indexes
[out]csrValuesis array with non-zero values
[in]csrIAis offset array (must be computed before)
[in]numRowsnumber of rows in matrix
[in]jdsPermwith jdsPerm[ii] is original index of row i
[in]jdsILGwith size of entries in row i
[in]jdsDLGdistances of columns
[in]jdsJAcolumn indexes
[in]jdsValuesmatrix values
template<typename JDSValueType , typename CSRValueType >
typedef void( * lama::JDSUtilsInterface::Conversions< JDSValueType, CSRValueType >::setCSRValues)(IndexType jdsJA[], JDSValueType jdsValues[], const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsILG[], const IndexType jdsDLG[], const IndexType csrIA[], const IndexType csrJA[], const CSRValueType csrValues[])

Conversion of CSR storage data to JDS data.

Parameters:
[out]jdsJAcolumn indexes
[out]jdsValuesmatrix values
[in]numRowsnumber of rows in matrix
[in]jdsPermwith jdsPerm[ii] is original index of row i
[in]jdsILGwith size of entries in row i
[in]jdsDLGdistances of columns
[in]csrIAis offset array (must be computed before)
[in]csrJAis array with column indexes
[in]csrValuesis array with non-zero values

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