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 S&gt;
15S Max(
16     T a,
17     U b
18);
19</pre>
20    </div>
21<h2>Template Arguments</h2>
22    <div class="section">
23      <table class="arguments">
24        <thead>
25          <tr>
26<th>Name</th>
27<td>Description</td>
28          </tr>
29        </thead>
30        <tr>
31<th>T</th>
32<td>Type representing a numerical value.</td>
33        </tr>
34        <tr>
35<th>U</th>
36<td>Type representing a numerical value.</td>
37        </tr>
38        <tr>
39<th>S</th>
40<td>Return value type.</td>
41        </tr> </table>
42    </div>
43<h2>Parameters</h2>
44    <div class="section">
45      <table class="arguments">
46        <thead>
47          <tr>
48            <td width="15" />
49<th>Name</th>
50<td>Description</td>
51          </tr>
52        </thead>
53        <tr>
54<td>in</td>
55<th>a</th>
56<td>Value to compare to the <SPAN class="argument">b</SPAN> argument.</td>
57        </tr>
58        <tr>
59<td>in</td>
60<th>b</th>
61<td>Value to compare to the <SPAN class="argument">a</SPAN> argument.</td>
62        </tr> </table>
63    </div>
64<h2>Return Values</h2>
65<div class="section">Compares <SPAN class="argument">a</SPAN> and <SPAN class="argument">b</SPAN> and returns the larger value. </div>
66<h2>Description</h2>
67    <div class="section">
68<p>Finds the maximum value.</p><!-- write here --></div>
69<h2>Revision History</h2>
70    <div class="section">
71      <dl class="history">
72        <dt>2011/03/01</dt>
73<dd>Initial version.<br />
74        </dd>
75      </dl>
76    </div>
77  <hr><p>CONFIDENTIAL</p></body>
78</html>
79