Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
Tpetra::Impl::AXPY< CoefficientType, ViewType1, ViewType2, IndexType, false, 1 > Struct Template Reference

Implementation of Tpetra::AXPY function, for ViewType1 and ViewType2 rank 1 (i.e., vectors). More...

#include <Tpetra_BlockView.hpp>

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION void run (const CoefficientType &alpha, const ViewType1 &x, const ViewType2 &y)
 y := y + alpha*x (rank-1 x and y, i.e., vectors) More...
 

Detailed Description

template<class CoefficientType, class ViewType1, class ViewType2, class IndexType>
struct Tpetra::Impl::AXPY< CoefficientType, ViewType1, ViewType2, IndexType, false, 1 >

Implementation of Tpetra::AXPY function, for ViewType1 and ViewType2 rank 1 (i.e., vectors).

Definition at line 299 of file Tpetra_BlockView.hpp.

Member Function Documentation

template<class CoefficientType , class ViewType1 , class ViewType2 , class IndexType >
static KOKKOS_INLINE_FUNCTION void Tpetra::Impl::AXPY< CoefficientType, ViewType1, ViewType2, IndexType, false, 1 >::run ( const CoefficientType &  alpha,
const ViewType1 &  x,
const ViewType2 &  y 
)
inlinestatic

y := y + alpha*x (rank-1 x and y, i.e., vectors)

general case

Definition at line 302 of file Tpetra_BlockView.hpp.


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