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 numeric value
U Type representing a numeric value
R Type representing a numeric value
S Return Value Type

Arguments

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

Return Values

Compares a, b, and c, and returns the smallest of the three.

Description

Finds the minimum value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL