LAMA
lama::CSRUtilsInterface::Scale< ValueType1, ValueType2 > Struct Template Reference

Define structure for multiplication routines. More...

#include <LAMAInterface.hpp>

Public Types

typedef void(* scaleRows )(ValueType1 csrValues[], const IndexType csrIA[], const IndexType numRows, const ValueType2 values[])
 This operation multiplies each row with an own value.

Detailed Description

template<typename ValueType1, typename ValueType2>
struct lama::CSRUtilsInterface::Scale< ValueType1, ValueType2 >

Define structure for multiplication routines.


Member Typedef Documentation

template<typename ValueType1 , typename ValueType2 >
typedef void( * lama::CSRUtilsInterface::Scale< ValueType1, ValueType2 >::scaleRows)(ValueType1 csrValues[], const IndexType csrIA[], const IndexType numRows, const ValueType2 values[])

This operation multiplies each row with an own value.

csr[i,j] *= values[i], for i = 0, ..., numRows-1


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