NumCpp  1.0
A C++ implementation of the Python Numpy library
logical_and.hpp
Go to the documentation of this file.
1 #pragma once
30 
31 #include "NumCpp/NdArray.hpp"
34 
35 #include <string>
36 
37 namespace nc
38 {
39  //============================================================================
40  // Method Description:
51  template<typename dtype>
52  NdArray<bool> logical_and(const NdArray<dtype>& inArray1, const NdArray<dtype>& inArray2)
53  {
54  return inArray1 && inArray2;
55  }
56 }
Error.hpp
nc::NdArray< bool >
NdArray.hpp
nc
Definition: Coordinate.hpp:45
StlAlgorithms.hpp
nc::logical_and
NdArray< bool > logical_and(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition: logical_and.hpp:52