DGtal 2.1.0
|
#include <DGtal/math/MPolynomial.h>
Public Types | |
typedef TAlloc | Alloc |
typedef std::allocator_traits< Alloc >::pointer | TPointer |
typedef std::vector< TPointer, typenamestd::allocator_traits< Alloc >::templaterebind_alloc< TPointer > >::size_type | Size |
Public Member Functions | |
IVector (const Alloc &allocator=Alloc()) | |
IVector (Size aSize, const Alloc &allocator=Alloc()) | |
IVector (Size aSize, const T &entry, const Alloc &allocator=Alloc()) | |
IVector (const IVector &v) | |
~IVector () | |
IVector & | operator= (const IVector &v) |
Size | size () const |
void | resize (Size aSize, const T &entry=T()) |
const T & | operator[] (Size i) const |
T & | operator[] (Size i) |
const T & | back () const |
T & | back () |
void | swap (IVector &v) |
Alloc | get_allocator () const |
Alloc | getAllocator () const |
Private Member Functions | |
void | create (Size begin, Size end, const typename Alloc::value_type &entry) |
void | free (Size begin, Size end) |
template<class A > | |
void | copy_from (const std::vector< TPointer, A > &source) |
Private Attributes | |
Alloc | myAllocator |
std::vector< TPointer, typename std::allocator_traits< Alloc >::template rebind_alloc< TPointer > > | myVec |
Specialization that is using std::vector<T*>, but behaving like std::vector<T>.
Definition at line 805 of file MPolynomial.h.
typedef TAlloc DGtal::IVector< T, TAlloc, true >::Alloc |
Definition at line 808 of file MPolynomial.h.
typedef std::vector<TPointer,typenamestd::allocator_traits<Alloc>::templaterebind_alloc<TPointer>>::size_type DGtal::IVector< T, TAlloc, true >::Size |
Definition at line 810 of file MPolynomial.h.
typedef std::allocator_traits<Alloc>::pointer DGtal::IVector< T, TAlloc, true >::TPointer |
Definition at line 809 of file MPolynomial.h.
|
inline |
Definition at line 847 of file MPolynomial.h.
|
inline |
Definition at line 851 of file MPolynomial.h.
|
inline |
Definition at line 857 of file MPolynomial.h.
|
inline |
Definition at line 863 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 869 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 915 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 910 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inlineprivate |
Definition at line 837 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inlineprivate |
Definition at line 818 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inlineprivate |
Definition at line 827 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 925 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 930 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 874 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec, and DGtal::IVector< T, TAlloc, usePointers >::size().
|
inline |
Definition at line 905 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 900 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 890 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 885 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
inline |
Definition at line 920 of file MPolynomial.h.
References DGtal::IVector< T, TAlloc, usePointers >::myVec.
|
private |
Definition at line 813 of file MPolynomial.h.
|
private |
Definition at line 814 of file MPolynomial.h.