ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
math.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// SYCL include(s).
12#if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION)
13#include <sycl/sycl.hpp>
14#endif
15
16// System include(s).
17#include <algorithm>
18#include <cmath>
19
20// NOLINTBEGIN
21namespace detray::algebra {
22
24#if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION)
25namespace math {
26using namespace ::sycl;
27}
28#else
29namespace math {
30using namespace std;
31}
32#endif // SYCL
33
34} // namespace detray::algebra
35// NOLINTEND
Namespace to pick up common math functions from.
Definition math.hpp:29