NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Functions | |
template<typename dtype , typename Iterator > | |
NdArray< dtype > | column_stack (Iterator begin, Iterator end) |
template<typename dtype , typename Iterator > | |
NdArray< dtype > | concatenate (Iterator begin, Iterator end, Axis inAxis=Axis::NONE) |
template<typename dtype , typename Indices , type_traits::ndarray_int_concept< Indices > = 0> | |
NdArray< dtype > | deleteColumnIndices (const NdArray< dtype > &inArray, Indices inIndices) |
template<typename dtype , typename Indices , type_traits::ndarray_int_concept< Indices > = 0> | |
NdArray< dtype > | deleteFlatIndices (const NdArray< dtype > &inArray, Indices inIndices) |
template<typename dtype , typename Indices , type_traits::ndarray_int_concept< Indices > = 0> | |
NdArray< dtype > | deleteRowIndices (const NdArray< dtype > &inArray, Indices inIndices) |
template<typename dtype , typename Iterator > | |
NdArray< dtype > | row_stack (Iterator begin, Iterator end) |
template<typename dtype , typename Iterator > | |
NdArray< dtype > | stack (Iterator begin, Iterator end, Axis inAxis) |
NdArray< dtype > nc::detail::column_stack | ( | Iterator | begin, |
Iterator | end | ||
) |
Stack 1-D arrays as columns into a 2-D array.
NumPy Reference: https://www.numpy.org/devdocs/reference/generated/numpy.column_stack.html
begin | iterator to the beginning of the span |
end | iterator to one past the end of the span |
NdArray< dtype > nc::detail::concatenate | ( | Iterator | begin, |
Iterator | end, | ||
Axis | inAxis = Axis::NONE |
||
) |
Join a sequence of arrays along an existing axis.
NumPy Reference: https://www.numpy.org/devdocs/reference/generated/numpy.concatenate.html
begin | the begin iterator |
end | the end iterator |
inAxis | (Optional, default NONE) |
NdArray< dtype > nc::detail::deleteColumnIndices | ( | const NdArray< dtype > & | inArray, |
Indices | inIndices | ||
) |
Return a new array with sub-arrays along the col axis deleted.
inArray | |
inIndices |
NdArray< dtype > nc::detail::deleteFlatIndices | ( | const NdArray< dtype > & | inArray, |
Indices | inIndices | ||
) |
NdArray< dtype > nc::detail::deleteRowIndices | ( | const NdArray< dtype > & | inArray, |
Indices | inIndices | ||
) |
Return a new array with sub-arrays along the row axis deleted.
inArray | |
inIndices |
NdArray< dtype > nc::detail::row_stack | ( | Iterator | begin, |
Iterator | end | ||
) |
Stack arrays in sequence vertically (row wise).
begin | iterator to the beginning of the span |
end | iterator to one past the end of the span |
NdArray< dtype > nc::detail::stack | ( | Iterator | begin, |
Iterator | end, | ||
Axis | inAxis | ||
) |
Compute the variance along the specified axis.
NumPy Reference: https://www.numpy.org/devdocs/reference/generated/numpy.stack.html
begin | iterator to the beginning of the span |
end | iterator to one past the end of the span |
inAxis | the axis to stack |