NumCpp  2.1.0
A C++ implementation of the Python Numpy library
array_equal.hpp
Go to the documentation of this file.
1 #pragma once
30 
32 #include "NumCpp/NdArray.hpp"
33 
34 namespace nc
35 {
36  //============================================================================
37  // Method Description:
48  template<typename dtype>
49  bool array_equal(const NdArray<dtype>& inArray1, const NdArray<dtype>& inArray2) noexcept
50  {
51  if (inArray1.shape() != inArray2.shape())
52  {
53  return false;
54  }
55 
56  return array_equiv(inArray1, inArray2);
57  }
58 } // namespace nc
array_equiv.hpp
nc::array_equiv
bool array_equiv(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2) noexcept
Definition: array_equiv.hpp:56
nc::NdArray< dtype >
NdArray.hpp
nc::array_equal
bool array_equal(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2) noexcept
Definition: array_equal.hpp:49
nc
Definition: Coordinate.hpp:45