ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
boolean.hpp
1
// This file is part of the ACTS project.
2
//
3
// Copyright (C) 2016 CERN for the benefit of the ACTS project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
namespace
detray
{
12
13
namespace
algebra::boolean {
14
17
constexpr
bool
any_of(
bool
b) {
18
return
b;
19
}
20
constexpr
bool
all_of(
bool
b) {
21
return
b;
22
}
23
constexpr
bool
none_of(
bool
b) {
24
return
!b;
25
}
27
28
}
// namespace algebra::boolean
29
30
namespace
detail {
31
32
// Pull the boolean functions directly into the detray namespace
33
using namespace
::detray::algebra::boolean;
34
35
}
// namespace detail
36
37
}
// namespace detray
detray
Detray include(s).
Definition
array_operators.hpp:18
Detray
core
include
detray
algebra
common
boolean.hpp
Generated by
1.15.0