ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
vc_soa_matrix.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// Project include(s).
12#include "algebra/impl/vc_soa_vector.hpp"
13#include "detray/algebra/common/matrix.hpp"
14#include "detray/algebra/concepts.hpp"
15#include "detray/definitions/detail/qualifiers.hpp"
16
17namespace detray::algebra::vc_soa::math {
18
19using algebra::storage::identity;
20using algebra::storage::set_identity;
21using algebra::storage::set_zero;
22using algebra::storage::transpose;
23using algebra::storage::zero;
24
25template <std::size_t ROW, std::size_t COL, concepts::simd_scalar scalar_t,
26 template <typename, std::size_t> class array_t>
27DETRAY_HOST_DEVICE constexpr scalar_t determinant(
28 const algebra::storage::matrix<array_t, scalar_t, ROW, COL>
29 & /*unused*/) noexcept {
30 // @TODO: Implement
31 return static_cast<scalar_t>(0);
32}
33
34template <std::size_t ROW, std::size_t COL, concepts::simd_scalar scalar_t,
35 template <typename, std::size_t> class array_t>
36DETRAY_HOST_DEVICE constexpr algebra::storage::matrix<array_t, scalar_t, ROW,
37 COL>
38inverse(
39 const algebra::storage::matrix<array_t, scalar_t, ROW, COL> &m) noexcept {
40 // @TODO: Implement
41 return m;
42}
43
44} // namespace detray::algebra::vc_soa::math
constexpr double m
Meter.
Definition Units.hpp:97