KASKADE 7 development version
Loading...
Searching...
No Matches
sign.hh File Reference

Go to the source code of this file.

Functions

template<class T>
T sign (T x)

Function Documentation

◆ sign()

template<class T>
T sign ( T 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().