NumCpp  2.1.0
A C++ implementation of the Python Numpy library
equal.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<bool> equal(const NdArray<dtype>& inArray1, const NdArray<dtype>& inArray2)
48  {
49  return inArray1 == inArray2;
50  }
51 } // namespace nc
nc::NdArray< bool >
nc::equal
NdArray< bool > equal(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition: equal.hpp:47
NdArray.hpp
nc
Definition: Coordinate.hpp:45