Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Kokkos::DefaultArithmetic< MultiVector< Scalar, Node > > Class Template Reference

Partial specialization of class DefaultArithmetic for MultiVector<Scalar,Node> More...

`#include <Kokkos_DefaultArithmetic.hpp>`

List of all members.

## Static Public Member Functions

static void Init (MultiVector< Scalar, Node > &A, Scalar alpha)
Initialize multivector to constant value.
static void Recip (MultiVector< Scalar, Node > &A, const MultiVector< Scalar, Node > &B)
Set MultiVector to the reciprocal of another: B(i,j) = 1/A(i,j)
static void ElemMult (MultiVector< Scalar, Node > &C, Scalar scalarC, Scalar scalarAB, const MultiVector< Scalar, Node > &A, const MultiVector< Scalar, Node > &B)
Set MultiVector to the scaled element-wise multiple of two others:
static void Assign (MultiVector< Scalar, Node > &A, const MultiVector< Scalar, Node > &B)
Assign one MultiVector to another.

## Detailed Description

### template<class Scalar, class Node> class Kokkos::DefaultArithmetic< MultiVector< Scalar, Node > >

Partial specialization of class DefaultArithmetic for MultiVector<Scalar,Node>

Definition at line 220 of file Kokkos_DefaultArithmetic.hpp.

## Member Function Documentation

template<class Scalar , class Node >
 static void Kokkos::DefaultArithmetic< MultiVector< Scalar, Node > >::Init ( MultiVector< Scalar, Node > & A, Scalar alpha ) ` [inline, static]`

Initialize multivector to constant value.

Definition at line 224 of file Kokkos_DefaultArithmetic.hpp.

template<class Scalar , class Node >
 static void Kokkos::DefaultArithmetic< MultiVector< Scalar, Node > >::Recip ( MultiVector< Scalar, Node > & A, const MultiVector< Scalar, Node > & B ) ` [inline, static]`

Set MultiVector to the reciprocal of another: B(i,j) = 1/A(i,j)

Definition at line 255 of file Kokkos_DefaultArithmetic.hpp.

template<class Scalar , class Node >
 static void Kokkos::DefaultArithmetic< MultiVector< Scalar, Node > >::ElemMult ( MultiVector< Scalar, Node > & C, Scalar scalarC, Scalar scalarAB, const MultiVector< Scalar, Node > & A, const MultiVector< Scalar, Node > & B ) ` [inline, static]`

Set MultiVector to the scaled element-wise multiple of two others:

C(i,j) = scalarC * C(i,j) + scalarAB * B(i,j) * A(i,1) (A has only 1 column)

Definition at line 293 of file Kokkos_DefaultArithmetic.hpp.

template<class Scalar , class Node >
 static void Kokkos::DefaultArithmetic< MultiVector< Scalar, Node > >::Assign ( MultiVector< Scalar, Node > & A, const MultiVector< Scalar, Node > & B ) ` [inline, static]`

Assign one MultiVector to another.

Definition at line 333 of file Kokkos_DefaultArithmetic.hpp.

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