NumCpp  2.11.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
logical_and.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include <string>
31 
34 #include "NumCpp/NdArray.hpp"
35 
36 namespace nc
37 {
38  //============================================================================
39  // Method Description:
49  template<typename dtype>
50  NdArray<bool> logical_and(const NdArray<dtype>& inArray1, const NdArray<dtype>& inArray2)
51  {
52  return inArray1 && inArray2;
53  }
54 } // namespace nc
Definition: Cartesian.hpp:40
NdArray< bool > logical_and(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition: logical_and.hpp:50