nn::math::Max Function

Syntax

template <typename T>
T Max(
     T a,
     T b,
     T c
);

Template Arguments

Name Description
T Type representing a numerical value.

Arguments

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 largest value.

Description

Finds the maximum value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL