Gyselalib++
 
Loading...
Searching...
No Matches
Vector< ElementType, Dims > Class Template Reference

A type describing a vector e.g. (E_x, E_y) More...

Inheritance diagram for Vector< ElementType, Dims >:

Public Member Functions

template<class... Params>
KOKKOS_FUNCTION Vector (Params... p)
 A constructor for a Vector to build from individual elements: E.g.
 

Detailed Description

template<class ElementType, class... Dims>
class Vector< ElementType, Dims >

A type describing a vector e.g. (E_x, E_y)

Constructor & Destructor Documentation

◆ Vector()

template<class ElementType , class... Dims>
template<class... Params>
KOKKOS_FUNCTION Vector< ElementType, Dims >::Vector ( Params...  p)
inline

A constructor for a Vector to build from individual elements: E.g.

Vector<double, X, Y>(1.0, 2.0)

or to build from component vectors E.g. Vector<double, X, Y>(vec_x, vec_y)

Parameters
[in]pThe element of the Vector.

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