1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7<title>Max</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../nn/Overview.html">nn</a>::<a href="../../nn/math/Overview.html">math</a>::Max</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14template &lt;typename T, typename U, typename R, typename S&gt;
15S Max(
16     T a,
17     U b,
18     R c
19);
20</pre>
21    </div>
22<h2>Template Arguments</h2>
23    <div class="section">
24      <table class="arguments">
25        <thead>
26          <tr>
27<th>Name</th>
28<td>Description</td>
29          </tr>
30        </thead>
31        <tr>
32<th>T</th>
33<td>Type representing a numerical value.</td>
34        </tr>
35        <tr>
36<th>U</th>
37<td>Type representing a numerical value.</td>
38        </tr>
39        <tr>
40<th>R</th>
41<td>Type representing a numerical value.</td>
42        </tr>
43        <tr>
44<th>S</th>
45<td>Return value type.</td>
46        </tr> </table>
47    </div>
48<h2>Arguments</h2>
49    <div class="section">
50      <table class="arguments">
51        <thead>
52          <tr>
53            <td width="15" />
54<th>Name</th>
55<td>Description</td>
56          </tr>
57        </thead>
58        <tr>
59<td>in</td>
60<th>a</th>
61<td>Value to compare to other arguments.</td>
62        </tr>
63        <tr>
64<td>in</td>
65<th>b</th>
66<td>Value to compare to other arguments.</td>
67        </tr>
68        <tr>
69<td>in</td>
70<th>c</th>
71<td>Value to compare to other arguments.</td>
72        </tr> </table>
73    </div>
74<h2>Return Values</h2>
75<div class="section">Compares <SPAN class="argument">a</SPAN>, <SPAN class="argument">b</SPAN>, and <SPAN class="argument">c</SPAN> and returns the largest value. </div>
76<h2>Description</h2>
77    <div class="section">
78<p>Finds the maximum value.</p><!-- write here --></div>
79<h2>Revision History</h2>
80    <div class="section">
81      <dl class="history">
82        <dt>2011/03/01</dt>
83<dd>Initial version.<br />
84        </dd>
85      </dl>
86    </div>
87  <hr><p>CONFIDENTIAL</p></body>
88</html>
89