/dports/math/stanmath/math-4.2.0/test/unit/math/prim/fun/ |
H A D | logical_and_test.cpp | 5 TEST(MathFunctions, logical_and) { in TEST() argument 6 using stan::math::logical_and; in TEST() 7 EXPECT_TRUE(logical_and(1, 1)); in TEST() 8 EXPECT_TRUE(logical_and(5.7, -1.9)); in TEST() 10 EXPECT_FALSE(logical_and(0, 0)); in TEST() 11 EXPECT_FALSE(logical_and(0, 1)); in TEST() 12 EXPECT_FALSE(logical_and(1, 0)); in TEST() 13 EXPECT_FALSE(logical_and(0.0, 0.0)); in TEST() 14 EXPECT_FALSE(logical_and(0.0, 1.0)); in TEST() 15 EXPECT_FALSE(logical_and(1, 0.0)); in TEST() [all …]
|
/dports/graphics/mahotas/mahotas-1.4.11/mahotas/ |
H A D | edge.py | 121 np.logical_and(np.logical_and(DoG[np.ix_(rr,cc)] < 0, DoG[np.ix_(rr,cc+1)] > 0), 125 np.logical_and(np.logical_and(DoG[np.ix_(rr,cc-1)] > 0, DoG[np.ix_(rr,cc+1)] < 0), 129 np.logical_and(np.logical_and(DoG[np.ix_(rr,cc)] < 0, DoG[np.ix_(rr+1,cc)] > 0), 133 np.logical_and(np.logical_and(DoG[np.ix_(rr-1,cc)] > 0, DoG[np.ix_(rr,cc)] < 0), 144 np.logical_and(np.logical_and(DoG[np.ix_(rz,cz-1)] < 0, DoG[np.ix_(rz,cz+1)] > 0), 148 np.logical_and(np.logical_and(DoG[np.ix_(rz,cz-1)] > 0, DoG[np.ix_(rz,cz+1)] < 0), 152 np.logical_and(np.logical_and(DoG[np.ix_(rz-1,cz)] < 0, DoG[np.ix_(rz+1,cz)] > 0), 156 np.logical_and(np.logical_and(DoG[np.ix_(rz-1,cz)] > 0, DoG[np.ix_(rz+1,cz)] < 0),
|
/dports/math/symengine/symengine-0.8.1/symengine/tests/logic/ |
H A D | test_logic.cpp | 21 using SymEngine::logical_and; 142 auto s1 = logical_and({c1, c2}); 147 auto s2 = logical_and({c2, c1}); 177 REQUIRE(eq(*logical_and({c1, c1, c2}), *logical_and({c1, c2}))); 183 REQUIRE(eq(*logical_and({c1, c1, c2}), *logical_and({c1, c2}))); 184 REQUIRE(eq(*logical_and({logical_and({c1, c2}), logical_and({c3, c4})}), 187 *logical_and( 188 {logical_and({c1, logical_and({c2, logical_and({c3, c4})})}), c2}), 194 *logical_or({c1, logical_and({c2, c3, c4}), logical_and({c2, c4}), 195 logical_and({c2, c3, c4}), c1, logical_and({c2, c4})}), [all …]
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/backend/test/case/node/ |
H A D | and.py | 28 z = np.logical_and(x, y) 35 z = np.logical_and(x, y) 42 z = np.logical_and(x, y) 57 z = np.logical_and(x, y) 64 z = np.logical_and(x, y) 71 z = np.logical_and(x, y) 78 z = np.logical_and(x, y) 85 z = np.logical_and(x, y)
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/backend/test/case/node/ |
H A D | and.py | 26 z = np.logical_and(x, y) 33 z = np.logical_and(x, y) 40 z = np.logical_and(x, y) 55 z = np.logical_and(x, y) 62 z = np.logical_and(x, y) 69 z = np.logical_and(x, y) 76 z = np.logical_and(x, y) 83 z = np.logical_and(x, y)
|
/dports/devel/py-trimesh/trimesh-3.5.25/trimesh/ |
H A D | interval.py | 92 current = np.logical_and(a_int[:, 0] <= b_int[:, 0], 97 current = np.logical_and(a_int[:, 0] >= b_int[:, 0], 103 current = np.logical_and( 104 np.logical_and(a_int[:, 0] <= b_int[:, 0], 112 current = np.logical_and( 113 np.logical_and(b_int[:, 0] <= a_int[:, 0],
|
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/testing/ |
H A D | UnitTestBinaryPredicates.cxx | 85 vtkm::LogicalAnd logical_and; in TestBinaryPredicates() local 86 VTKM_TEST_ASSERT(logical_and(true, true) == true, "logical_and true wrong."); in TestBinaryPredicates() 87 VTKM_TEST_ASSERT(logical_and(true, false) == false, "logical_and true wrong."); in TestBinaryPredicates() 88 VTKM_TEST_ASSERT(logical_and(false, true) == false, "logical_and true wrong."); in TestBinaryPredicates() 89 VTKM_TEST_ASSERT(logical_and(false, false) == false, "logical_and true wrong."); in TestBinaryPredicates()
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/testing/ |
H A D | UnitTestBinaryPredicates.cxx | 73 vtkm::LogicalAnd logical_and; in TestBinaryPredicates() local 74 VTKM_TEST_ASSERT(logical_and(true, true) == true, "logical_and true wrong."); in TestBinaryPredicates() 75 VTKM_TEST_ASSERT(logical_and(true, false) == false, "logical_and true wrong."); in TestBinaryPredicates() 76 VTKM_TEST_ASSERT(logical_and(false, true) == false, "logical_and true wrong."); in TestBinaryPredicates() 77 VTKM_TEST_ASSERT(logical_and(false, false) == false, "logical_and true wrong."); in TestBinaryPredicates()
|
/dports/science/py-scikit-fuzzy/scikit-fuzzy-0.4.2/skfuzzy/membership/ |
H A D | generatemf.py | 230 idx = np.logical_and(a <= x, x <= (a + b) / 2.) 233 idx = np.logical_and((a + b) / 2. < x, x <= b) 236 idx = np.logical_and(c <= x, x < (c + d) / 2.) 239 idx = np.logical_and((c + d) / 2. <= x, x <= d) 370 idx = np.logical_and(a <= x, x <= (a + b) / 2.) 373 idx = np.logical_and((a + b) / 2. <= x, x <= b) 441 idx = np.nonzero(np.logical_and(a < x, x < b))[0] 446 idx = np.nonzero(np.logical_and(b < x, x < c))[0] 480 idx = np.logical_and(a <= x, x < (a + b) / 2.) 483 idx = np.logical_and((a + b) / 2. <= x, x <= b)
|
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/devel/riscv64-gcc/gcc-8.3.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gnat_util/gcc-6-20180516/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 53 static_assert(std::logical_and<int>()(1,1), ""); 57 static_assert(std::logical_and<void>()(1,1), ""); 75 static_assert(std::binary_negate<std::logical_and<int>> 76 (std::logical_and<int>())(0,0), ""); 77 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 52 static_assert(std::logical_and<int>()(1,1), ""); 56 static_assert(std::logical_and<void>()(1,1), ""); 74 static_assert(std::binary_negate<std::logical_and<int>> 75 (std::logical_and<int>())(0,0), ""); 76 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|
/dports/lang/gcc6-aux/gcc-6-20180516/libstdc++-v3/testsuite/20_util/function_objects/ |
H A D | constexpr.cc | 53 static_assert(std::logical_and<int>()(1,1), ""); 57 static_assert(std::logical_and<void>()(1,1), ""); 75 static_assert(std::binary_negate<std::logical_and<int>> 76 (std::logical_and<int>())(0,0), ""); 77 static_assert(std::not2(std::logical_and<int>())(0,0), "");
|