DPsim
Loading...
Searching...
No Matches
DPsim::cuda::Vector< T > Class Template Reference
Inheritance diagram for DPsim::cuda::Vector< T >:
[legend]

Classes

class  iterator
 

Public Member Functions

 Vector (size_t preAlloc)
 
 Vector (Vector &)=delete
 
 Vector (Vector &&other)
 
Vectoroperator= (const Vector &)=delete
 
Vectoroperator= (Vector &&other)
 
operator[] (size_t pos)
 
T * data () const
 
iterator begin ()
 
iterator end ()
 

Detailed Description

template<typename T>
class DPsim::cuda::Vector< T >

Definition at line 54 of file CudaUtility.h.

Constructor & Destructor Documentation

◆ Vector() [1/2]

template<typename T>
DPsim::cuda::Vector< T >::Vector ( size_t preAlloc)
inline

Definition at line 56 of file CudaUtility.h.

◆ Vector() [2/2]

template<typename T>
DPsim::cuda::Vector< T >::Vector ( Vector< T > && other)
inline

Definition at line 63 of file CudaUtility.h.

◆ ~Vector()

template<typename T>
DPsim::cuda::Vector< T >::~Vector ( )
inline

Definition at line 68 of file CudaUtility.h.

Member Function Documentation

◆ begin()

template<typename T>
iterator DPsim::cuda::Vector< T >::begin ( )
inline

Definition at line 127 of file CudaUtility.h.

◆ data()

template<typename T>
T * DPsim::cuda::Vector< T >::data ( ) const
inline

Definition at line 88 of file CudaUtility.h.

◆ end()

template<typename T>
iterator DPsim::cuda::Vector< T >::end ( )
inline

Definition at line 128 of file CudaUtility.h.

◆ operator=()

template<typename T>
Vector & DPsim::cuda::Vector< T >::operator= ( Vector< T > && other)
inline

Definition at line 75 of file CudaUtility.h.

◆ operator[]()

template<typename T>
T DPsim::cuda::Vector< T >::operator[] ( size_t pos)
inline

Definition at line 81 of file CudaUtility.h.


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