KASKADE 7 development version
Functions
sign.hh File Reference

Go to the source code of this file.

Functions

template<class T >
sign (T x)
 

Function Documentation

◆ sign()

template<class T >
T sign ( x)

Computes the sign of a scalar value. T must be comparable (support < and >). There must be an implicit conversion from int to T.

Definition at line 21 of file sign.hh.

Referenced by Kaskade::computeSimplexSfPermutation(), and Kaskade::Adjugate< 3, Source >::d0().