|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
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