NumCpp
2.1.0
A C++ implementation of the Python Numpy library
contains.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>
47
NdArray<bool>
contains
(
const
NdArray<dtype>
& inArray, dtype inValue,
Axis
inAxis =
Axis::NONE
)
48
{
49
return
inArray.
contains
(inValue, inAxis);
50
}
51
}
// namespace nc
nc::NdArray::contains
NdArray< bool > contains(value_type inValue, Axis inAxis=Axis::NONE) const
Definition:
NdArrayCore.hpp:2348
nc::Axis::NONE
@ NONE
nc::NdArray< bool >
NdArray.hpp
nc::Axis
Axis
Enum To describe an axis.
Definition:
Types.hpp:47
nc
Definition:
Coordinate.hpp:45
nc::contains
NdArray< bool > contains(const NdArray< dtype > &inArray, dtype inValue, Axis inAxis=Axis::NONE)
Definition:
contains.hpp:47
Types.hpp
include
NumCpp
Functions
contains.hpp
Generated by
1.8.17