hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::Fraction< Real, typename > Class Template Reference

Class for floating point numbers between 0 and 1. More...

#include <Fraction.hh>

Public Member Functions

 Fraction ()=default
 
 Fraction (Real r)
 
Fractionoperator= (Real r)
 
 operator Real () const
 

Detailed Description

template<class Real, typename = std::enable_if_t<std::is_floating_point<Real>::value>>
class HEJ::Fraction< Real, typename >

Class for floating point numbers between 0 and 1.

Constructor & Destructor Documentation

◆ Fraction() [1/2]

template<class Real , typename = std::enable_if_t<std::is_floating_point<Real>::value>>
HEJ::Fraction< Real, typename >::Fraction ( )
default

◆ Fraction() [2/2]

template<class Real , typename = std::enable_if_t<std::is_floating_point<Real>::value>>
HEJ::Fraction< Real, typename >::Fraction ( Real  r)
inlineexplicit

Member Function Documentation

◆ operator Real()

template<class Real , typename = std::enable_if_t<std::is_floating_point<Real>::value>>
HEJ::Fraction< Real, typename >::operator Real ( ) const
inline

◆ operator=()

template<class Real , typename = std::enable_if_t<std::is_floating_point<Real>::value>>
Fraction & HEJ::Fraction< Real, typename >::operator= ( Real  r)
inline

The documentation for this class was generated from the following file: