Template Function TRAP::Math::Min(genType, genType)#

Function Documentation#

template<typename genType>
constexpr genType TRAP::Math::Min(genType x, genType y)#

Retrieve the minimum value of x and y.

Parameters:
  • x – Specify the first value to compare.

  • y – Specify the second value to compare.

Returns:

y if y < x; otherwise it returns x.