Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Stokhos::Update< ValueType, VectorType > Class Template Reference

#include <Stokhos_Update.hpp>

Public Types

typedef VectorType vector_type
typedef ValueType value_type
typedef vector_type::execution_space execution_space
typedef execution_space::size_type size_type

Public Member Functions

 Update (const value_type &alpha, vector_type &x, const value_type &beta, const vector_type &y)
KOKKOS_INLINE_FUNCTION void operator() (const size_type iRow) const

Static Public Member Functions

static void apply (const value_type &alpha, vector_type &x, const value_type &beta, const vector_type &y)

Public Attributes

vector_type m_x
const vector_type m_y
const value_type m_alpha
const value_type m_beta

Detailed Description

template<typename ValueType, typename VectorType>
class Stokhos::Update< ValueType, VectorType >

Definition at line 48 of file Stokhos_Update.hpp.

Member Typedef Documentation

◆ vector_type

template<typename ValueType, typename VectorType>
typedef VectorType Stokhos::Update< ValueType, VectorType >::vector_type

Definition at line 51 of file Stokhos_Update.hpp.

◆ value_type

template<typename ValueType, typename VectorType>
typedef ValueType Stokhos::Update< ValueType, VectorType >::value_type

Definition at line 52 of file Stokhos_Update.hpp.

◆ execution_space

template<typename ValueType, typename VectorType>
typedef vector_type::execution_space Stokhos::Update< ValueType, VectorType >::execution_space

Definition at line 53 of file Stokhos_Update.hpp.

◆ size_type

template<typename ValueType, typename VectorType>
typedef execution_space::size_type Stokhos::Update< ValueType, VectorType >::size_type

Definition at line 54 of file Stokhos_Update.hpp.

Constructor & Destructor Documentation

◆ Update()

template<typename ValueType, typename VectorType>
Stokhos::Update< ValueType, VectorType >::Update ( const value_type & alpha,
vector_type & x,
const value_type & beta,
const vector_type & y )
inline

Definition at line 62 of file Stokhos_Update.hpp.

Member Function Documentation

◆ operator()()

template<typename ValueType, typename VectorType>
KOKKOS_INLINE_FUNCTION void Stokhos::Update< ValueType, VectorType >::operator() ( const size_type iRow) const
inline

Definition at line 73 of file Stokhos_Update.hpp.

◆ apply()

template<typename ValueType, typename VectorType>
void Stokhos::Update< ValueType, VectorType >::apply ( const value_type & alpha,
vector_type & x,
const value_type & beta,
const vector_type & y )
inlinestatic

Definition at line 78 of file Stokhos_Update.hpp.

Member Data Documentation

◆ m_x

template<typename ValueType, typename VectorType>
vector_type Stokhos::Update< ValueType, VectorType >::m_x

Definition at line 57 of file Stokhos_Update.hpp.

◆ m_y

template<typename ValueType, typename VectorType>
const vector_type Stokhos::Update< ValueType, VectorType >::m_y

Definition at line 58 of file Stokhos_Update.hpp.

◆ m_alpha

template<typename ValueType, typename VectorType>
const value_type Stokhos::Update< ValueType, VectorType >::m_alpha

Definition at line 59 of file Stokhos_Update.hpp.

◆ m_beta

template<typename ValueType, typename VectorType>
const value_type Stokhos::Update< ValueType, VectorType >::m_beta

Definition at line 60 of file Stokhos_Update.hpp.


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