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

Specialization for scalar types. More...

#include <detray/algebra/type_traits.hpp>

Inheritance diagram for detray::traits::dimensions< M >:
[legend]
Collaboration diagram for detray::traits::dimensions< M >:
[legend]

Public Types

using index_type = std::size_t
 Index type used to represent dimensions.

Static Public Attributes

static constexpr index_type _columns {1}
 Scalars occupy one column.
static constexpr index_type _dim {0}
 Scalars have rank zero.
static constexpr index_type _rows {1}
 Scalars occupy one row.

Detailed Description

template<typename M>
requires std::is_fundamental_v<M>
struct detray::traits::dimensions< M >

Specialization for scalar types.