LAMA
lama::DIAUtilsInterface::Mult< ValueType > Struct Template Reference

#include <LAMAInterface.hpp>

Public Types

typedef void(* normalGEMV )(ValueType result[], const ValueType alpha, const ValueType x[], const ValueType beta, const ValueType y[], const IndexType numRows, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffsets[], const ValueType diaValues[], class SyncToken *syncToken)
 result = alpha * CSR-Matrix * x + b * y.

template<typename ValueType>
struct lama::DIAUtilsInterface::Mult< ValueType >


Member Typedef Documentation

template<typename ValueType >
typedef void( * lama::DIAUtilsInterface::Mult< ValueType >::normalGEMV)(ValueType result[], const ValueType alpha, const ValueType x[], const ValueType beta, const ValueType y[], const IndexType numRows, const IndexType numColumns, const IndexType numDiagonals, const IndexType diaOffsets[], const ValueType diaValues[], class SyncToken *syncToken)

result = alpha * CSR-Matrix * x + b * y.

Parameters:
resultis the result vector
alphais scaling factor for matrix x vector
xis input vector for matrix multiplication
betais scaling factor for additional vector
yis additional input vector to add
numRowsis number of elements for all vectors and rows of matrix
numValuesis the number of diagonals in DIA storage
diaOffsets,diaValuesare arrays of DIA storage
syncTokenoptional, if available starts asynchronous computation

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