|
| NdArray ()=default |
|
| NdArray (const self_type &inOtherArray) |
|
| NdArray (const Shape &inShape) |
|
template<std::enable_if_t< is_valid_dtype_v< dtype >, int > = 0> |
| NdArray (const std::deque< dtype > &inDeque) |
|
| NdArray (const std::deque< std::deque< dtype > > &in2dDeque) |
|
| NdArray (const std::initializer_list< std::initializer_list< dtype > > &inList) |
|
| NdArray (const std::list< dtype > &inList) |
|
| NdArray (const std::vector< std::vector< dtype > > &in2dVector) |
|
template<typename UIntType , std::enable_if_t< std::is_integral_v< UIntType > &&!std::is_same_v< UIntType, bool >, int > = 0> |
| NdArray (const_pointer inPtr, UIntType size) |
|
template<typename UIntType1 , typename UIntType2 , std::enable_if_t< std::is_integral_v< UIntType1 > &&!std::is_same_v< UIntType1, bool >, int > = 0, std::enable_if_t< std::is_integral_v< UIntType2 > &&!std::is_same_v< UIntType2, bool >, int > = 0> |
| NdArray (const_pointer inPtr, UIntType1 numRows, UIntType2 numCols) |
|
template<typename Iterator , std::enable_if_t< std::is_same_v< typename std::iterator_traits< Iterator >::value_type, dtype >, int > = 0> |
| NdArray (Iterator inFirst, Iterator inLast) |
|
template<typename UIntType , std::enable_if_t< std::is_integral_v< UIntType > &&!std::is_same_v< UIntType, bool >, int > = 0> |
| NdArray (pointer inPtr, UIntType size, PointerPolicy policy) |
|
template<typename UIntType1 , typename UIntType2 , std::enable_if_t< std::is_integral_v< UIntType1 > &&!std::is_same_v< UIntType1, bool >, int > = 0, std::enable_if_t< std::is_integral_v< UIntType2 > &&!std::is_same_v< UIntType2, bool >, int > = 0> |
| NdArray (pointer inPtr, UIntType1 numRows, UIntType2 numCols, PointerPolicy policy) |
|
| NdArray (self_type &&inOtherArray) noexcept |
|
| NdArray (size_type inNumRows, size_type inNumCols) |
|
| NdArray (size_type inSquareSize) |
|
template<size_t ArraySize, std::enable_if_t< is_valid_dtype_v< dtype >, int > = 0> |
| NdArray (std::array< dtype, ArraySize > &inArray, PointerPolicy policy=PointerPolicy::COPY) |
|
template<size_t Dim0Size, size_t Dim1Size> |
| NdArray (std::array< std::array< dtype, Dim1Size >, Dim0Size > &in2dArray, PointerPolicy policy=PointerPolicy::COPY) |
|
| NdArray (std::initializer_list< dtype > inList) |
|
template<std::enable_if_t< is_valid_dtype_v< dtype >, int > = 0> |
| NdArray (std::vector< dtype > &inVector, PointerPolicy policy=PointerPolicy::COPY) |
|
template<size_t Dim1Size> |
| NdArray (std::vector< std::array< dtype, Dim1Size > > &in2dArray, PointerPolicy policy=PointerPolicy::COPY) |
|
| ~NdArray () noexcept |
|
NdArray< bool > | all (Axis inAxis=Axis::NONE) const |
|
NdArray< bool > | any (Axis inAxis=Axis::NONE) const |
|
NdArray< size_type > | argmax (Axis inAxis=Axis::NONE) const |
|
NdArray< size_type > | argmin (Axis inAxis=Axis::NONE) const |
|
NdArray< size_type > | argpartition (size_type inKth, Axis inAxis=Axis::NONE) const |
|
NdArray< size_type > | argsort (Axis inAxis=Axis::NONE) const |
|
template<typename dtypeOut , typename dtype_ = dtype, std::enable_if_t< std::is_same_v< dtype_, dtype >, int > = 0, std::enable_if_t< std::is_arithmetic_v< dtype_ >, int > = 0, std::enable_if_t< std::is_arithmetic_v< dtypeOut >, int > = 0> |
NdArray< dtypeOut > | astype () const |
|
template<typename dtypeOut , typename dtype_ = dtype, std::enable_if_t< std::is_same_v< dtype_, dtype >, int > = 0, std::enable_if_t< std::is_arithmetic_v< dtype_ >, int > = 0, std::enable_if_t< is_complex_v< dtypeOut >, int > = 0> |
NdArray< dtypeOut > | astype () const |
|
template<typename dtypeOut , typename dtype_ = dtype, std::enable_if_t< std::is_same_v< dtype_, dtype >, int > = 0, std::enable_if_t< is_complex_v< dtype_ >, int > = 0, std::enable_if_t< is_complex_v< dtypeOut >, int > = 0> |
NdArray< dtypeOut > | astype () const |
|
template<typename dtypeOut , typename dtype_ = dtype, std::enable_if_t< std::is_same_v< dtype_, dtype >, int > = 0, std::enable_if_t< is_complex_v< dtype_ >, int > = 0, std::enable_if_t< std::is_arithmetic_v< dtypeOut >, int > = 0> |
NdArray< dtypeOut > | astype () const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | at (const Indices &inIndices) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | at (const Indices &rowIndices, index_type colIndex) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | at (const Indices &rowIndices, Slice colSlice) const |
|
self_type | at (const NdArray< bool > &inMask) const |
|
template<typename RowIndices , typename ColIndices , type_traits::ndarray_int_concept< RowIndices > = 0, type_traits::ndarray_int_concept< ColIndices > = 0> |
self_type | at (const RowIndices &rowIndices, const ColIndices &colIndices) const |
|
self_type | at (const Slice &inRowSlice, const Slice &inColSlice) const |
|
self_type | at (const Slice &inRowSlice, index_type inColIndex) const |
|
self_type | at (const Slice &inSlice) const |
|
reference | at (index_type inIndex) |
|
const_reference | at (index_type inIndex) const |
|
self_type | at (index_type inRowIndex, const Slice &inColSlice) const |
|
reference | at (index_type inRowIndex, index_type inColIndex) |
|
const_reference | at (index_type inRowIndex, index_type inColIndex) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | at (index_type rowIndex, const Indices &colIndices) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | at (Slice rowSlice, const Indices &colIndices) const |
|
const_reference | back () const noexcept |
|
reference | back () noexcept |
|
reference | back (size_type row) |
|
const_reference | back (size_type row) const |
|
const_iterator | begin () const noexcept |
|
iterator | begin () noexcept |
|
iterator | begin (size_type inRow) |
|
const_iterator | begin (size_type inRow) const |
|
self_type & | byteswap () noexcept |
|
const_iterator | cbegin () const noexcept |
|
const_iterator | cbegin (size_type inRow) const |
|
const_column_iterator | ccolbegin () const noexcept |
|
const_column_iterator | ccolbegin (size_type inCol) const |
|
const_column_iterator | ccolend () const noexcept |
|
const_column_iterator | ccolend (size_type inCol) const |
|
const_iterator | cend () const noexcept |
|
const_iterator | cend (size_type inRow) const |
|
self_type | clip (value_type inMin, value_type inMax) const |
|
const_column_iterator | colbegin () const noexcept |
|
column_iterator | colbegin () noexcept |
|
column_iterator | colbegin (size_type inCol) |
|
const_column_iterator | colbegin (size_type inCol) const |
|
const_column_iterator | colend () const noexcept |
|
column_iterator | colend () noexcept |
|
column_iterator | colend (size_type inCol) |
|
const_column_iterator | colend (size_type inCol) const |
|
self_type | column (size_type inColumn) const |
|
self_type | columns (const NdArray< size_type > &inCols) const |
|
NdArray< bool > | contains (value_type inValue, Axis inAxis=Axis::NONE) const |
|
self_type | copy () const |
|
const_reverse_iterator | crbegin () const noexcept |
|
const_reverse_iterator | crbegin (size_type inRow) const |
|
const_reverse_column_iterator | crcolbegin () const noexcept |
|
const_reverse_column_iterator | crcolbegin (size_type inCol) const |
|
const_reverse_column_iterator | crcolend () const noexcept |
|
const_reverse_column_iterator | crcolend (size_type inCol) const |
|
const_reverse_iterator | crend () const noexcept |
|
const_reverse_iterator | crend (size_type inRow) const |
|
Slice | cSlice (index_type inStartIdx=0, size_type inStepSize=1) const |
|
self_type | cumprod (Axis inAxis=Axis::NONE) const |
|
self_type | cumsum (Axis inAxis=Axis::NONE) const |
|
const_pointer | data () const noexcept |
|
pointer | data () noexcept |
|
pointer | dataRelease () noexcept |
|
self_type | diagonal (index_type inOffset=0, Axis inAxis=Axis::ROW) const |
|
size_type | dimSize (Axis inAxis) const noexcept |
|
self_type | dot (const self_type &inOtherArray) const |
|
void | dump (const std::string &inFilename) const |
|
const_iterator | end () const noexcept |
|
iterator | end () noexcept |
|
iterator | end (size_type inRow) |
|
const_iterator | end (size_type inRow) const |
|
Endian | endianess () const noexcept |
|
self_type & | fill (value_type inFillValue) noexcept |
|
NdArray< size_type > | flatnonzero () const |
|
self_type | flatten () const |
|
const_reference | front () const noexcept |
|
reference | front () noexcept |
|
reference | front (size_type row) |
|
const_reference | front (size_type row) const |
|
self_type | getByIndices (const NdArray< size_type > &inIndices) const |
|
self_type | getByMask (const NdArray< bool > &inMask) const |
|
bool | isempty () const noexcept |
|
bool | isflat () const noexcept |
|
bool | isscalar () const noexcept |
|
NdArray< bool > | issorted (Axis inAxis=Axis::NONE) const |
|
bool | issquare () const noexcept |
|
value_type | item () const |
|
self_type | max (Axis inAxis=Axis::NONE) const |
|
self_type | median (Axis inAxis=Axis::NONE) const |
|
self_type | min (Axis inAxis=Axis::NONE) const |
|
self_type & | nans () noexcept |
|
uint64 | nbytes () const noexcept |
|
self_type | newbyteorder (Endian inEndianess) const |
|
NdArray< bool > | none (Axis inAxis=Axis::NONE) const |
|
std::pair< NdArray< size_type >, NdArray< size_type > > | nonzero () const |
|
size_type | numCols () const noexcept |
|
size_type | numRows () const noexcept |
|
self_type & | ones () noexcept |
|
| operator bool () const noexcept |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | operator() (const Indices &rowIndices, index_type colIndex) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | operator() (const Indices &rowIndices, Slice colSlice) const |
|
template<typename RowIndices , typename ColIndices , type_traits::ndarray_int_concept< RowIndices > = 0, type_traits::ndarray_int_concept< ColIndices > = 0> |
self_type | operator() (const RowIndices &rowIndices, const ColIndices &colIndices) const |
|
const_reference | operator() (index_type inRowIndex, index_type inColIndex) const noexcept |
|
reference | operator() (index_type inRowIndex, index_type inColIndex) noexcept |
|
self_type | operator() (index_type inRowIndex, Slice inColSlice) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | operator() (index_type rowIndex, const Indices &colIndices) const |
|
self_type | operator() (Slice inRowSlice, index_type inColIndex) const |
|
self_type | operator() (Slice inRowSlice, Slice inColSlice) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | operator() (Slice rowSlice, const Indices &colIndices) const |
|
self_type & | operator= (const self_type &rhs) |
|
self_type & | operator= (self_type &&rhs) noexcept |
|
self_type & | operator= (value_type inValue) noexcept |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type | operator[] (const Indices &inIndices) const |
|
self_type | operator[] (const NdArray< bool > &inMask) const |
|
const_reference | operator[] (index_type inIndex) const noexcept |
|
reference | operator[] (index_type inIndex) noexcept |
|
self_type | operator[] (Slice inSlice) const |
|
bool | ownsInternalData () noexcept |
|
self_type & | partition (size_type inKth, Axis inAxis=Axis::NONE) |
|
void | print () const |
|
self_type | prod (Axis inAxis=Axis::NONE) const |
|
self_type | ptp (Axis inAxis=Axis::NONE) const |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type & | put (const Indices &inIndices, const self_type &inValues) |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type & | put (const Indices &inIndices, const value_type &inValue) |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type & | put (const Indices &inRowIndices, index_type inColIndex, const self_type &inValues) |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type & | put (const Indices &inRowIndices, index_type inColIndex, const value_type &inValue) |
|
template<typename RowIndices , typename ColIndices , type_traits::ndarray_int_concept< RowIndices > = 0, type_traits::ndarray_int_concept< ColIndices > = 0> |
self_type & | put (const RowIndices &inRowIndices, const ColIndices &inColIndices, const self_type &inValues) |
|
template<typename RowIndices , typename ColIndices , type_traits::ndarray_int_concept< RowIndices > = 0, type_traits::ndarray_int_concept< ColIndices > = 0> |
self_type & | put (const RowIndices &inRowIndices, const ColIndices &inColIndices, const value_type &inValue) |
|
template<typename RowIndices , type_traits::ndarray_int_concept< RowIndices > = 0> |
self_type & | put (const RowIndices &inRowIndices, const Slice &inColSlice, const value_type &inValue) |
|
template<typename RowIndices , type_traits::ndarray_int_concept< RowIndices > = 0> |
self_type & | put (const RowIndices &inRowIndices, Slice inColSlice, const self_type &inValues) |
|
template<typename ColIndices , type_traits::ndarray_int_concept< ColIndices > = 0> |
self_type & | put (const Slice &inRowSlice, const ColIndices &inColIndices, const value_type &inValue) |
|
self_type & | put (const Slice &inRowSlice, const Slice &inColSlice, const value_type &inValue) |
|
self_type & | put (const Slice &inRowSlice, index_type inColIndex, const self_type &inValues) |
|
self_type & | put (const Slice &inRowSlice, index_type inColIndex, const value_type &inValue) |
|
self_type & | put (const Slice &inSlice, const self_type &inValues) |
|
self_type & | put (const Slice &inSlice, const value_type &inValue) |
|
self_type & | put (index_type inIndex, const value_type &inValue) |
|
self_type & | put (index_type inRow, index_type inCol, const value_type &inValue) |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type & | put (index_type inRowIndex, const Indices &inColIndices, const self_type &inValues) |
|
template<typename Indices , type_traits::ndarray_int_concept< Indices > = 0> |
self_type & | put (index_type inRowIndex, const Indices &inColIndices, const value_type &inValue) |
|
self_type & | put (index_type inRowIndex, const Slice &inColSlice, const self_type &inValues) |
|
self_type & | put (index_type inRowIndex, const Slice &inColSlice, const value_type &inValue) |
|
template<typename ColIndices , type_traits::ndarray_int_concept< ColIndices > = 0> |
self_type & | put (Slice inRowSlice, const ColIndices &inColIndices, const self_type &inValues) |
|
self_type & | put (Slice inRowSlice, Slice inColSlice, const self_type &inValues) |
|
self_type & | putMask (const NdArray< bool > &inMask, const self_type &inValues) |
|
self_type & | putMask (const NdArray< bool > &inMask, const value_type &inValue) |
|
self_type & | ravel () |
|
const_reverse_iterator | rbegin () const noexcept |
|
reverse_iterator | rbegin () noexcept |
|
reverse_iterator | rbegin (size_type inRow) |
|
const_reverse_iterator | rbegin (size_type inRow) const |
|
const_reverse_column_iterator | rcolbegin () const noexcept |
|
reverse_column_iterator | rcolbegin () noexcept |
|
reverse_column_iterator | rcolbegin (size_type inCol) |
|
const_reverse_column_iterator | rcolbegin (size_type inCol) const |
|
const_reverse_column_iterator | rcolend () const noexcept |
|
reverse_column_iterator | rcolend () noexcept |
|
reverse_column_iterator | rcolend (size_type inCol) |
|
const_reverse_column_iterator | rcolend (size_type inCol) const |
|
const_reverse_iterator | rend () const noexcept |
|
reverse_iterator | rend () noexcept |
|
reverse_iterator | rend (size_type inRow) |
|
const_reverse_iterator | rend (size_type inRow) const |
|
self_type | repeat (const Shape &inRepeatShape) const |
|
self_type | repeat (size_type inNumRows, size_type inNumCols) const |
|
self_type & | replace (value_type oldValue, value_type newValue) |
|
self_type & | reshape (const Shape &inShape) |
|
self_type & | reshape (index_type inNumRows, index_type inNumCols) |
|
self_type & | reshape (size_type inSize) |
|
self_type & | resizeFast (const Shape &inShape) |
|
self_type & | resizeFast (size_type inNumRows, size_type inNumCols) |
|
self_type & | resizeSlow (const Shape &inShape) |
|
self_type & | resizeSlow (size_type inNumRows, size_type inNumCols) |
|
self_type | round (uint8 inNumDecimals=0) const |
|
self_type | row (size_type inRow) const |
|
self_type | rows (const NdArray< size_type > &inRows) const |
|
Slice | rSlice (index_type inStartIdx=0, size_type inStepSize=1) const |
|
const Shape & | shape () const noexcept |
|
size_type | size () const noexcept |
|
self_type & | sort (Axis inAxis=Axis::NONE) |
|
std::string | str () const |
|
self_type | sum (Axis inAxis=Axis::NONE) const |
|
self_type | swapaxes () const |
|
self_type & | swapCols (index_type colIdx1, index_type colIdx2) noexcept |
|
self_type & | swapRows (index_type rowIdx1, index_type rowIdx2) noexcept |
|
void | tofile (const std::string &inFilename) const |
|
void | tofile (const std::string &inFilename, const char inSep) const |
|
NdArray< size_type > | toIndices (Slice inSlice, Axis inAxis=Axis::NONE) const |
|
std::vector< dtype > | toStlVector () const |
|
value_type | trace (size_type inOffset=0, Axis inAxis=Axis::ROW) const noexcept |
|
self_type | transpose () const |
|
self_type & | zeros () noexcept |
|
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
- Examples
- GaussNewtonNlls.cpp, and ReadMe.cpp.