NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
array_equal.hpp
Go to the documentation of this file.
1
#pragma once
29
30
#include "
NumCpp/Functions/array_equiv.hpp
"
31
#include "
NumCpp/NdArray.hpp
"
32
33
namespace
nc
34
{
35
//============================================================================
36
// Method Description:
47
template
<
typename
dtype>
48
bool
array_equal
(
const
NdArray<dtype>
& inArray1,
const
NdArray<dtype>
& inArray2) noexcept
49
{
50
if
(inArray1.shape() != inArray2.shape())
51
{
52
return
false
;
53
}
54
55
return
array_equiv
(inArray1, inArray2);
56
}
57
}
// namespace nc
array_equiv.hpp
nc::array_equiv
bool array_equiv(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2) noexcept
Definition:
array_equiv.hpp:55
nc::NdArray< dtype >
NdArray.hpp
nc::array_equal
bool array_equal(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2) noexcept
Definition:
array_equal.hpp:48
nc
Definition:
Coordinate.hpp:44
include
NumCpp
Functions
array_equal.hpp
Generated by
1.8.17