compbio
Public Member Functions | List of all members
Eigen::MaxSizeVector< T > Class Template Reference

The MaxSizeVector class. More...

#include <MaxSizeVector.h>

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MaxSizeVector (size_t n)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MaxSizeVector (size_t n, const T &init)
 
void resize (size_t n)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void push_back (const T &t)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Toperator[] (size_t i) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Toperator[] (size_t i)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tback ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Tback () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void pop_back ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE size_t size () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool empty () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tdata ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Tdata () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tbegin ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tend ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Tbegin () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Tend () const
 

Detailed Description

template<typename T>
class Eigen::MaxSizeVector< T >

The MaxSizeVector class.

The MaxSizeVector provides a subset of std::vector functionality.

The goal is to provide basic std::vector operations when using std::vector is not an option (e.g. on GPU or when compiling using FMA/AVX, as this can cause either compilation failures or illegal instruction failures).

Beware: The constructors are not API compatible with these of std::vector.


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