NumCpp  2.10.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::detail Namespace Reference

Functions

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)
 

Function Documentation

◆ deleteColumnIndices()

template<typename dtype , typename Indices , type_traits::ndarray_int_concept< Indices > = 0>
NdArray<dtype> nc::detail::deleteColumnIndices ( const NdArray< dtype > &  inArray,
Indices  inIndices 
)

Return a new array with sub-arrays along the col axis deleted.

Parameters
inArray
inIndices
Returns
NdArray

◆ deleteFlatIndices()

template<typename dtype , typename Indices , type_traits::ndarray_int_concept< Indices > = 0>
NdArray<dtype> nc::detail::deleteFlatIndices ( const NdArray< dtype > &  inArray,
Indices  inIndices 
)

Return a new array with sub-arrays deleted.

Parameters
inArray
inIndices
Returns
NdArray

◆ deleteRowIndices()

template<typename dtype , typename Indices , type_traits::ndarray_int_concept< Indices > = 0>
NdArray<dtype> nc::detail::deleteRowIndices ( const NdArray< dtype > &  inArray,
Indices  inIndices 
)

Return a new array with sub-arrays along the row axis deleted.

Parameters
inArray
inIndices
Returns
NdArray