Inheritance diagram for Kokkos::Vector< OrdinalType, ScalarType >:
Public Member Functions
|Vector Destructor. |
Vector access methods.
|virtual ScalarType *||getValues () const =0|
|Returns a pointer to an array of values in the vector. |
Vector Attribute access methods.
|virtual OrdinalType||getLength () const =0|
|Length of vector. |
|virtual OrdinalType||getInc () const =0|
|Increment between entries in the vector, normally = 1. |
The Kokkos::Vector specifies the interface that any vector class interfacing to the Kokkos Operators classes must implement.
At this time, the primary function provided by Kokkos::Vector is access to vector data.
Returns a pointer to an array of values in the vector.
Extract a pointer to the values in the vector. Note that the values are not copied by this method. Memory allocation is handled by the vector object itself. The getInc() method should be used to access values, especially if getInc() != 1.
Implemented in Kokkos::DenseVector< OrdinalType, ScalarType >.