NumCpp  1.0
A C++ implementation of the Python Numpy library
argwhere.hpp
Go to the documentation of this file.
1 #pragma once
30 
31 #include "NumCpp/Core/Types.hpp"
32 #include "NumCpp/NdArray.hpp"
33 
34 namespace nc
35 {
36  //============================================================================
37  // Method Description:
46  template<typename dtype>
48  {
49  return inArray.flatnonzero();
50  }
51 }
nc::NdArray
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:75
NdArray.hpp
nc
Definition: Coordinate.hpp:45
nc::argwhere
NdArray< uint32 > argwhere(const NdArray< dtype > &inArray)
Definition: argwhere.hpp:47
nc::NdArray::flatnonzero
NdArray< uint32 > flatnonzero() const
Definition: NdArrayCore.hpp:2741
Types.hpp