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::SCAL< ViewType, CoefficientType, IndexType, false, 1 > Struct Template Reference

Implementation of Tpetra::SCAL function, for ViewType rank 1 (i.e., a vector). More...

#include <Tpetra_BlockView.hpp>

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION void run (const CoefficientType &alpha, const ViewType &x)
 x := alpha*x (rank-1 x, i.e., a vector) More...
 

Detailed Description

template<class ViewType, class CoefficientType, class IndexType>
struct Tpetra::Impl::SCAL< ViewType, CoefficientType, IndexType, false, 1 >

Implementation of Tpetra::SCAL function, for ViewType rank 1 (i.e., a vector).

Definition at line 160 of file Tpetra_BlockView.hpp.

Member Function Documentation

template<class ViewType , class CoefficientType , class IndexType >
static KOKKOS_INLINE_FUNCTION void Tpetra::Impl::SCAL< ViewType, CoefficientType, IndexType, false, 1 >::run ( const CoefficientType &  alpha,
const ViewType &  x 
)
inlinestatic

x := alpha*x (rank-1 x, i.e., a vector)

general case

Definition at line 163 of file Tpetra_BlockView.hpp.


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