ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::is_ratio_one< R > Struct Template Reference

Helper trait to check if the ratio is one. More...

#include <detray/utils/ratio.hpp>

Static Public Attributes

static constexpr bool value = (R::num == R::den)
 Whether the ratio's numerator and denominator are equal.

Detailed Description

template<typename R>
struct detray::is_ratio_one< R >

Helper trait to check if the ratio is one.