Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
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>

Inheritance diagram for Tpetra::Impl::SCAL< ViewType, CoefficientType, IndexType, false, 1 >:

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)

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

◆ run()

template<class ViewType, class CoefficientType, class IndexType>
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: