ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::traits::get_algebra< A > Struct Template Reference

Expose the types provided by a supported algebra. More...

#include <detray/algebra/type_traits.hpp>

Inheritance diagram for detray::traits::get_algebra< A >:
[legend]
Collaboration diagram for detray::traits::get_algebra< A >:
[legend]

Public Types

using algebra_type = A
 The algebra type itself.
using boolean = typename A::boolean
 Boolean type used by the algebra.
using index_type = typename A::index_type
 Integer type used for indices.
template<std::size_t ROWS, std::size_t COLS>
using matrix = typename A::template matrix<ROWS, COLS>
 Matrix type with the requested dimensions.
using point2D = typename A::point2D
 Two-dimensional point type.
using point3D = typename A::point3D
 Three-dimensional point type.
using scalar = typename A::scalar
 Scalar type, possibly containing multiple values in an SoA algebra.
template<typename U>
using simd = typename A::template simd<U>
 SIMD type parameterized by the lane value type.
using transform3D = typename A::transform3D
 Three-dimensional transform type.
using value = typename A::value_type
 Value type used by the algebra.
using vector2D = typename A::vector2D
 Two-dimensional vector type.
using vector3D = typename A::vector3D
 Three-dimensional vector type.

Detailed Description

template<typename A>
requires (!std::is_same_v<typename A::point3D, void>)
struct detray::traits::get_algebra< A >

Expose the types provided by a supported algebra.