|
LSSTApplications
1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
|
#include <Core.h>
Public Types | |
| typedef boost::mpl::int_< N > | ND |
| number of dimensions More... | |
| typedef Core< N-1 > | Super |
| base class More... | |
| typedef boost::intrusive_ptr < Core > | Ptr |
| intrusive_ptr to Core More... | |
| typedef boost::intrusive_ptr < Core const > | ConstPtr |
| const intrusive_ptr to Core More... | |
Public Member Functions | |
| Ptr | copy () const |
| int | getSize () const |
| Return the size of the Nth dimension. More... | |
| int | getStride () const |
| Return the stride of the Nth dimension. More... | |
| void | setSize (int size) |
| Set the size of the Nth dimension. More... | |
| void | setStride (int stride) |
| Set the stride of the Nth dimension. More... | |
| template<int M> | |
| int | computeOffset (Vector< int, M > const &index) const |
| Recursively compute the offset to an element. More... | |
| template<int M> | |
| void | fillShape (Vector< int, M > &shape) const |
| Recursively fill a shape vector. More... | |
| template<int M> | |
| void | fillStrides (Vector< int, M > &strides) const |
| Recursively fill a strides vector. More... | |
| int | getNumElements () const |
| Recursively determine the total number of elements. More... | |
Static Public Member Functions | |
| template<int M> | |
| static Ptr | create (Vector< int, M > const &shape, Vector< int, M > const &strides, Manager::Ptr const &manager=Manager::Ptr()) |
| Create a Core::Ptr with the given shape, strides, and manager. More... | |
| template<int M> | |
| static Ptr | create (Vector< int, M > const &shape, DataOrderEnum order, Manager::Ptr const &manager=Manager::Ptr()) |
| Create a Core::Ptr with the given shape and manager with contiguous strides. More... | |
| static Ptr | create (Manager::Ptr const &manager=Manager::Ptr()) |
| Create a Core::Ptr with the given manager and zero shape and strides. More... | |
Protected Member Functions | |
| template<int M> | |
| Core (Vector< int, M > const &shape, Vector< int, M > const &strides, Manager::Ptr const &manager) | |
| template<int M> | |
| Core (Vector< int, M > const &shape, Manager::Ptr const &manager) | |
| template<int M> | |
| Core (Vector< int, M > const &shape, int stride, Manager::Ptr const &manager) | |
| Core (Manager::Ptr const &manager) | |
| Core (Core const &other) | |
Private Attributes | |
| int | _size |
| int | _stride |
| typedef boost::intrusive_ptr<Core const> ndarray::detail::Core< N >::ConstPtr |
| typedef boost::mpl::int_<N> ndarray::detail::Core< N >::ND |
| typedef boost::intrusive_ptr<Core> ndarray::detail::Core< N >::Ptr |
| typedef Core<N-1> ndarray::detail::Core< N >::Super |
|
inlineprotected |
|
inlineprotected |
Definition at line 148 of file Core.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Recursively compute the offset to an element.
Definition at line 113 of file Core.h.
|
inline |
Definition at line 97 of file Core.h.
|
inlinestatic |
Create a Core::Ptr with the given shape, strides, and manager.
Definition at line 68 of file Core.h.
|
inlinestatic |
Create a Core::Ptr with the given shape and manager with contiguous strides.
Definition at line 78 of file Core.h.
|
inlinestatic |
Create a Core::Ptr with the given manager and zero shape and strides.
Definition at line 91 of file Core.h.
|
inline |
Recursively fill a shape vector.
Definition at line 119 of file Core.h.
|
inline |
Recursively fill a strides vector.
Definition at line 126 of file Core.h.
|
inline |
Recursively determine the total number of elements.
Definition at line 132 of file Core.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
1.8.5