NumCpp
2.16.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
logical_and.hpp
Go to the documentation of this file.
1
28
#pragma once
29
30
#include <string>
31
32
#include "
NumCpp/Core/Internal/Error.hpp
"
33
#include "
NumCpp/Core/Internal/StlAlgorithms.hpp
"
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
Error.hpp
NdArray.hpp
StlAlgorithms.hpp
nc::NdArray
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition
NdArrayCore.hpp:139
nc
Definition
Cartesian.hpp:40
nc::logical_and
NdArray< bool > logical_and(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition
logical_and.hpp:50
nc::arange
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition
arange.hpp:59
include
NumCpp
Functions
logical_and.hpp
Generated by
1.9.8