LAMA
lama::JDSUtilsInterface::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 jdsPerm[], const IndexType jdsILG[], const IndexType ndlg, const IndexType jdsDLG[], const IndexType jdsJA[], const ValueType jdsValues[], class SyncToken *syncToken)
 result = alpha * CSR-Matrix * x + b * y.

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


Member Typedef Documentation

template<typename ValueType >
typedef void( * lama::JDSUtilsInterface::Mult< ValueType >::normalGEMV)(ValueType result[], const ValueType alpha, const ValueType x[], const ValueType beta, const ValueType y[], const IndexType numRows, const IndexType jdsPerm[], const IndexType jdsILG[], const IndexType ndlg, const IndexType jdsDLG[], const IndexType jdsJA[], const ValueType jdsValues[], 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
numDiagonalsare number of diagonals, is size of jdsDLG
jdsPerm,jdsILG,jdsDLG,jdsJA,jdsValuesare arrays of JDS storage
syncTokenoptional, if available starts asynchronous computation

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