NumCpp
2.1.0
A C++ implementation of the Python Numpy library
flatnonzero.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/NdArray.hpp
"
32
33
namespace
nc
34
{
35
//============================================================================
36
// Method Description:
46
template
<
typename
dtype>
47
NdArray<uint32>
flatnonzero
(
const
NdArray<dtype>
& inArray)
48
{
49
return
inArray.
flatnonzero
();
50
}
51
}
// namespace nc
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::flatnonzero
NdArray< uint32 > flatnonzero(const NdArray< dtype > &inArray)
Definition:
flatnonzero.hpp:47
nc::NdArray::flatnonzero
NdArray< uint32 > flatnonzero() const
Definition:
NdArrayCore.hpp:2748
include
NumCpp
Functions
flatnonzero.hpp
Generated by
1.8.17