DUNE-ACFEM (unstable)

Dune::ACFem::TypedValue::FractionConstant< Int, N, D > Struct Template Reference

A class implementing compile-time constant fractions of integers. More...

#include <dune/acfem/common/fractionconstant.hh>

Detailed Description

template<class Int, Int N, Int D>
struct Dune::ACFem::TypedValue::FractionConstant< Int, N, D >

A class implementing compile-time constant fractions of integers.

The class expects D to be positive and the fraction to be normalized, i.e. the GCD of N and D must be 1.

@paeam Int The underlying integer type.

Parameters
NThe numerator value
DThe denominator value

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 10, 22:30, 2024)