|
bool | hasData () const |
|
template<class U > |
MultiArrayView & | init (const U &init) |
|
void | makeCopy (PyObject *obj, bool strict=false) |
|
bool | makeReference (const NumpyAnyArray &array, bool strict=false) |
|
bool | makeReference (PyObject *obj, bool=false) |
|
void | makeReferenceUnchecked (PyObject *obj) |
|
void | makeUnsafeReference (const view_type &multiArrayView) |
|
template<class U , class S > |
| NumpyArray (const MultiArrayView< N, U, S > &other) |
|
| NumpyArray (const NumpyAnyArray &other, bool createCopy=false) |
|
| NumpyArray (const NumpyArray &other, bool createCopy=false) |
|
| NumpyArray (difference_type const &shape, std::string const &order="") |
|
| NumpyArray (PyObject *obj=0, bool createCopy=false) |
|
| NumpyArray (TaggedShape const &tagged_shape) |
|
template<class U , class S > |
NumpyArray & | operator= (const MultiArrayView< N, U, S > &other) |
|
NumpyArray & | operator= (const NumpyAnyArray &other) |
|
NumpyArray & | operator= (const NumpyArray &other) |
|
template<class U , class S > |
NumpyArray & | operator= (const NumpyArray< N, U, S > &other) |
|
template<int K> |
TinyVector< npy_intp, K > | permuteLikewise () const |
|
template<class U > |
ArrayVector< U > | permuteLikewise (ArrayVector< U > const &data) const |
|
template<class U , int K> |
TinyVector< U, K > | permuteLikewise (TinyVector< U, K > const &data) const |
|
void | reshape (difference_type const &shape) |
|
void | reshapeIfEmpty (difference_type const &shape, std::string message="") |
|
void | reshapeIfEmpty (TaggedShape tagged_shape, std::string message="") |
|
const difference_type & | shape () const |
|
difference_type_1 | shape (difference_type_1 n) const |
|
difference_type | strideOrdering () const |
|
bool | all () const |
|
bool | any () const |
|
iterator | begin () |
|
const_iterator | begin () const |
|
MultiArrayView< N-1, T, typename vigra::detail::MaybeStrided< StrideTag, M >::type > | bind (difference_type_1 d) const |
|
MultiArrayView< N-1, T, StridedArrayTag > | bindAt (difference_type_1 m, difference_type_1 d) const |
|
MultiArrayView< N, typename ExpandElementResult< T >::type, StridedArrayTag > | bindElementChannel (difference_type_1 i) const |
|
MultiArrayView< N-M, T, StridedArrayTag > | bindInner (const TinyVector< Index, M > &d) const |
|
MultiArrayView< N-1, T, StridedArrayTag > | bindInner (difference_type_1 d) const |
|
MultiArrayView< N-M, T, StrideTag > | bindOuter (const TinyVector< Index, M > &d) const |
|
MultiArrayView< N-1, T, StrideTag > | bindOuter (difference_type_1 d) const |
|
difference_type_1 | coordinateToScanOrderIndex (const difference_type &d) const |
|
void | copy (const MultiArrayView &rhs) |
|
void | copy (const MultiArrayView< N, U, CN > &rhs) |
|
pointer | data () const |
|
MultiArrayView< 1, T, StridedArrayTag > | diagonal () const |
|
difference_type_1 | elementCount () const |
|
iterator | end () |
|
const_iterator | end () const |
|
MultiArrayView< N+1, typename ExpandElementResult< T >::type, StridedArrayTag > | expandElements (difference_type_1 d) const |
|
bool | hasData () const |
|
difference_type_1 | height () const |
|
MultiArrayView & | init (const U &init) |
|
MultiArrayView< N+1, T, StrideTag > | insertSingletonDimension (difference_type_1 i) const |
|
bool | isInside (difference_type const &p) const |
|
bool | isOutside (difference_type const &p) const |
|
bool | isUnstrided (unsigned int dimension=N-1) const |
|
void | meanVariance (U *mean, U *variance) const |
|
void | minmax (T *minimum, T *maximum) const |
|
| MultiArrayView () |
|
| MultiArrayView (BasicImage< T, ALLOC > const &image) |
|
| MultiArrayView (const difference_type &shape, const difference_type &stride, const_pointer ptr) |
|
| MultiArrayView (const difference_type &shape, const_pointer ptr) |
|
| MultiArrayView (const MultiArrayView< N, T, Stride > &other) |
|
| MultiArrayView (MultiArrayView const &rhs)=default |
|
MultiArrayView< N, Multiband< value_type >, StrideTag > | multiband () const |
|
NormTraits< MultiArrayView >::NormType | norm (int type=2, bool useSquaredNorm=true) const |
|
| operator MultiArrayView< N, T, StridedArrayTag > () const |
|
bool | operator!= (MultiArrayView< N, U, C1 > const &rhs) const |
|
reference | operator() (difference_type_1 x) |
|
const_reference | operator() (difference_type_1 x) const |
|
reference | operator() (difference_type_1 x, difference_type_1 y) |
|
const_reference | operator() (difference_type_1 x, difference_type_1 y) const |
|
reference | operator() (difference_type_1 x, difference_type_1 y, difference_type_1 z) |
|
const_reference | operator() (difference_type_1 x, difference_type_1 y, difference_type_1 z) const |
|
reference | operator() (difference_type_1 x, difference_type_1 y, difference_type_1 z, difference_type_1 u) |
|
const_reference | operator() (difference_type_1 x, difference_type_1 y, difference_type_1 z, difference_type_1 u) const |
|
reference | operator() (difference_type_1 x, difference_type_1 y, difference_type_1 z, difference_type_1 u, difference_type_1 v) |
|
const_reference | operator() (difference_type_1 x, difference_type_1 y, difference_type_1 z, difference_type_1 u, difference_type_1 v) const |
|
MultiArrayView & | operator*= (multi_math::MultiMathOperand< Expression > const &rhs) |
|
MultiArrayView & | operator*= (MultiArrayView< N, U, C1 > const &rhs) |
|
MultiArrayView & | operator*= (T const &rhs) |
|
MultiArrayView & | operator+= (multi_math::MultiMathOperand< Expression > const &rhs) |
|
MultiArrayView & | operator+= (MultiArrayView< N, U, C1 > const &rhs) |
|
MultiArrayView & | operator+= (T const &rhs) |
|
MultiArrayView & | operator-= (multi_math::MultiMathOperand< Expression > const &rhs) |
|
MultiArrayView & | operator-= (MultiArrayView< N, U, C1 > const &rhs) |
|
MultiArrayView & | operator-= (T const &rhs) |
|
MultiArrayView & | operator/= (multi_math::MultiMathOperand< Expression > const &rhs) |
|
MultiArrayView & | operator/= (MultiArrayView< N, U, C1 > const &rhs) |
|
MultiArrayView & | operator/= (T const &rhs) |
|
MultiArrayView & | operator= (multi_math::MultiMathOperand< Expression > const &rhs) |
|
MultiArrayView & | operator= (MultiArrayView< N, U, C1 > const &rhs) |
|
MultiArrayView & | operator= (value_type const &v) |
|
bool | operator== (MultiArrayView< N, U, C1 > const &rhs) const |
|
reference | operator[] (const difference_type &d) |
|
const_reference | operator[] (const difference_type &d) const |
|
MultiArrayView< N-M, T, StridedArrayTag > | operator[] (const TinyVector< MultiArrayIndex, M > &d) const |
|
reference | operator[] (difference_type_1 d) |
|
const_reference | operator[] (difference_type_1 d) const |
|
MultiArrayView< N, T, StridedArrayTag > | permuteStridesAscending () const |
|
MultiArrayView< N, T, StridedArrayTag > | permuteStridesDescending () const |
|
U | product () const |
|
void | reset () |
|
difference_type | scanOrderIndexToCoordinate (difference_type_1 d) const |
|
const difference_type & | shape () const |
|
difference_type_1 | shape (difference_type_1 n) const |
|
difference_type_1 | size () const |
|
difference_type_1 | size (difference_type_1 n) const |
|
NormTraits< MultiArrayView >::SquaredNormType | squaredNorm () const |
|
const difference_type & | stride () const |
|
difference_type_1 | stride (int n) const |
|
MultiArrayView< N, T, StridedArrayTag > | stridearray (const difference_type &s) const |
|
difference_type | strideOrdering () const |
|
MultiArrayView | subarray (difference_type p, difference_type q) const |
|
U | sum () const |
|
void | sum (MultiArrayView< N, U, S > sums) const |
|
void | swap (MultiArrayView &other) |
|
void | swapData (MultiArrayView rhs) |
|
void | swapData (MultiArrayView< N, T2, C2 > rhs) |
|
MultiArrayView< N, T, StridedArrayTag > | transpose () const |
|
MultiArrayView< N, T, StridedArrayTag > | transpose (const difference_type &permutation) const |
|
traverser | traverser_begin () |
|
const_traverser | traverser_begin () const |
|
traverser | traverser_end () |
|
const_traverser | traverser_end () const |
|
difference_type_1 | width () const |
|
python_ptr | axistags () const |
|
int | dtype () const |
|
template<class Shape > |
NumpyAnyArray | getitem (Shape start, Shape stop) const |
|
bool | hasData () const |
|
void | makeCopy (PyObject *obj, PyTypeObject *type=0) |
|
bool | makeReference (PyObject *obj, PyTypeObject *type=0) |
|
MultiArrayIndex | ndim () const |
|
| NumpyAnyArray (NumpyAnyArray const &other, bool createCopy=false, PyTypeObject *type=0) |
|
| NumpyAnyArray (PyObject *obj=0, bool createCopy=false, PyTypeObject *type=0) |
|
NumpyAnyArray & | operator= (NumpyAnyArray const &other) |
|
PyArrayObject * | pyArray () const |
|
PyObject * | pyObject () const |
|
difference_type | shape () const |
|
MultiArrayIndex | spatialDimensions () const |
|
difference_type | strideOrdering () const |
|
template<unsigned int N, class T, class Stride = StridedArrayTag>
class vigra::NumpyArray< N, T, Stride >
Provide the MultiArrayView interface for a Python array.
This class inherits from both vigra::MultiArrayView and vigra::NumpyAnyArray in order to support easy and safe application of VIGRA functions to Python arrays.
#include <vigra/numpy_array.hxx>
Namespace: vigra