nn::math::Abs Function

Syntax

template <typename T>
T Abs(
     T x
);

Template Arguments

Name Description
T Type representing a numerical value.

Parameters

Name Description
in x Number for evaluation.

Return Values

Returns the absolute value of x.

Description

Finds the absolute value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL