STK++ 0.9.13
|
Allocator for dense Array classes. More...
#include <STK_CAllocator.h>
Public Member Functions | |
CAllocator () | |
default constructor | |
CAllocator (int, int) | |
CAllocator (int, int, Type const &v) | |
CAllocator (CAllocator const &A, bool ref=true) | |
template<int OtherRows_, int OtherCols_> | |
CAllocator (CAllocator< Type, OtherRows_, OtherCols_, Orient_ > const &A, RowRange const &I, ColRange const &J) | |
CAllocator (Type *const &q, int, int) | |
wrapper constructor for 0 based C-Array | |
~CAllocator () | |
destructor | |
void | clear () |
clear allocated memories | |
CAllocator & | resize2Impl (int, int) |
resize this | |
void | realloc (int, int) |
![]() | |
void | exchange (StructuredCAllocator &T) |
exchange T with this. | |
TypeConst | elt1Impl (int i) const |
Type & | elt1Impl (int i) |
void | shift2Impl (int beginRows, int beginCols) |
shift the first indexes of the allocator | |
void | shift1Impl (int begin) |
shift the first indexes of the allocator (for square and diagonal matrices). | |
CAllocator< Type_, SizeRows_, SizeCols_, Orient_ > & | resize1Impl (int size) |
resize the allocator (for square and diagonal matrices). | |
Additional Inherited Members | |
![]() | |
StructuredCAllocator (RowRange const &I, ColRange const &J) | |
Default constructor. | |
StructuredCAllocator (StructuredCAllocator const &A, bool ref) | |
copy constructor | |
StructuredCAllocator (StructuredCAllocator< OtherDerived, OtherRows_, OtherCols_ > const &A, RowRange const &I, ColRange const &J) | |
Reference constructor. | |
StructuredCAllocator (Type *const &q, int nbRow, int nbCol) | |
wrapper constructor for 0 based C-Array | |
Allocator for dense Array classes.
Allocator for the dense CArray classes.
The data are stored in two dimensions. It can be the columns or the rows allocator of any dense container.
The size of the Allocator is known in both dimension
Definition at line 904 of file STK_CAllocator.h.
typedef MemAllocator<Type, SizeRows_* SizeCols_> STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::Allocator |
Definition at line 921 of file STK_CAllocator.h.
typedef StructuredCAllocator<CAllocator, SizeRows_, SizeCols_> STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::Base |
Definition at line 922 of file STK_CAllocator.h.
typedef hidden::Traits<CAllocator>::Col STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::Col |
Definition at line 908 of file STK_CAllocator.h.
Type of the Range for the columns.
Definition at line 928 of file STK_CAllocator.h.
typedef IContainer2D<SizeRows_, SizeCols_> STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::LowBase |
Definition at line 923 of file STK_CAllocator.h.
typedef hidden::Traits<CAllocator>::Row STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::Row |
Definition at line 907 of file STK_CAllocator.h.
Type of the Range for the rows.
Definition at line 926 of file STK_CAllocator.h.
typedef hidden::Traits<CAllocator>::Type STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::Type |
Definition at line 909 of file STK_CAllocator.h.
typedef hidden::Traits<CAllocator>::TypeConst STK::CAllocator< Type_, SizeRows_, SizeCols_, Orient_ >::TypeConst |
Definition at line 910 of file STK_CAllocator.h.
Enumerator | |
---|---|
structure_ | |
orient_ | |
sizeRows_ | |
sizeCols_ | |
sizeProd_ | |
storage_ |
Definition at line 912 of file STK_CAllocator.h.
|
inline |
default constructor
Definition at line 932 of file STK_CAllocator.h.
Definition at line 933 of file STK_CAllocator.h.
|
inline |
Definition at line 934 of file STK_CAllocator.h.
|
inline |
Definition at line 935 of file STK_CAllocator.h.
|
inline |
Definition at line 939 of file STK_CAllocator.h.
|
inline |
wrapper constructor for 0 based C-Array
Definition at line 944 of file STK_CAllocator.h.
|
inline |
|
inline |
Definition at line 952 of file STK_CAllocator.h.
|
inline |