nn::math::Min Function

Syntax

template <typename T, typename U, typename R, typename S>
S Min(
     T a,
     U b,
     R c
);

Template Arguments

Name Description
T Type representing a numerical value.
U Type representing a numerical value.
R Type representing a numerical value.
S Return value type.

Parameters

Name Description
in a Value to compare to other arguments.
in b Value to compare to other arguments.
in c Value to compare to other arguments.

Return Values

Compares a, b, and c and returns the smallest value.

Description

Finds the minimum value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL