NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Custom const_iterator for NdArray. More...
#include <NdArrayIterators.hpp>
Inherited by nc::NdArrayIterator< dtype, PointerType, DifferenceType >.
Public Types | |
using | difference_type = DifferenceType |
using | iterator_category = std::random_access_iterator_tag |
using | pointer = PointerType |
using | reference = const value_type & |
using | value_type = dtype |
Public Member Functions | |
NdArrayConstIterator ()=default | |
NdArrayConstIterator (pointer ptr) noexcept | |
bool | operator!= (const self_type &rhs) const noexcept |
reference | operator* () const noexcept |
self_type | operator+ (const difference_type offset) const noexcept |
self_type & | operator++ () noexcept |
self_type | operator++ (int) noexcept |
self_type & | operator+= (const difference_type offset) noexcept |
self_type | operator- (const difference_type offset) const noexcept |
difference_type | operator- (const self_type &rhs) const noexcept |
self_type & | operator-- () noexcept |
self_type | operator-- (int) noexcept |
self_type & | operator-= (const difference_type offset) noexcept |
pointer | operator-> () const noexcept |
bool | operator< (const self_type &rhs) const noexcept |
bool | operator<= (const self_type &rhs) const noexcept |
bool | operator== (const self_type &rhs) const noexcept |
bool | operator> (const self_type &rhs) const noexcept |
bool | operator>= (const self_type &rhs) const noexcept |
reference | operator[] (const difference_type offset) const noexcept |
Custom const_iterator for NdArray.
using nc::NdArrayConstIterator< dtype, PointerType, DifferenceType >::difference_type = DifferenceType |
using nc::NdArrayConstIterator< dtype, PointerType, DifferenceType >::iterator_category = std::random_access_iterator_tag |
using nc::NdArrayConstIterator< dtype, PointerType, DifferenceType >::pointer = PointerType |
using nc::NdArrayConstIterator< dtype, PointerType, DifferenceType >::reference = const value_type& |
using nc::NdArrayConstIterator< dtype, PointerType, DifferenceType >::value_type = dtype |
|
default |
Default Constructor
|
inlineexplicitnoexcept |
Constructor
ptr | the iterator pointer |
|
inlinenoexcept |
Iterator not-equality operator
rhs |
|
inlinenoexcept |
Iterator dereference
|
inlinenoexcept |
|
inlinenoexcept |
Iterator prefix incrament operator
|
inlinenoexcept |
Iterator postfix incrament operator
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Iterator difference operator
rhs |
|
inlinenoexcept |
Iterator prefix decrament operator
|
inlinenoexcept |
Iterator postfix decrament operator
|
inlinenoexcept |
|
inlinenoexcept |
Iterator pointer operator
|
inlinenoexcept |
Iterator less than operator
rhs |
|
inlinenoexcept |
Iterator less than equal operator
rhs |
|
inlinenoexcept |
Iterator equality operator
rhs |
|
inlinenoexcept |
Iterator greater than operator
rhs |
|
inlinenoexcept |
Iterator greater than equal operator
rhs |
|
inlinenoexcept |
Iterator access operator
offset |