ttypedefs.h.html - numeric - C++ library with numerical algorithms
(HTM) git clone git://src.adamsgaard.dk/numeric
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
ttypedefs.h.html (3031B)
---
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 <title>~/code/numeric/exam/typedefs.h.html</title>
6 <meta name="Generator" content="Vim/7.4">
7 <meta name="plugin-version" content="vim7.4_v1">
8 <meta name="syntax" content="cpp">
9 <meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=">
10 <meta name="colorscheme" content="desert">
11 <style type="text/css">
12 <!--
13 pre { white-space: pre-wrap; font-family: monospace; color: #ffffff; background-color: #000000; }
14 body { font-family: monospace; color: #ffffff; background-color: #000000; }
15 * { font-size: 1em; }
16 .Constant { color: #af5f00; }
17 .LineNr { color: #804000; }
18 .Comment { color: #008080; }
19 .Type { color: #008000; }
20 .PreProc { color: #c000c0; }
21 -->
22 </style>
23
24 <script type='text/javascript'>
25 <!--
26
27 /* function to open any folds containing a jumped-to line before jumping to it */
28 function JumpToLine()
29 {
30 var lineNum;
31 lineNum = window.location.hash;
32 lineNum = lineNum.substr(1); /* strip off '#' */
33
34 if (lineNum.indexOf('L') == -1) {
35 lineNum = 'L'+lineNum;
36 }
37 lineElem = document.getElementById(lineNum);
38 /* Always jump to new location even if the line was hidden inside a fold, or
39 * we corrected the raw number to a line ID.
40 */
41 if (lineElem) {
42 lineElem.scrollIntoView(true);
43 }
44 return true;
45 }
46 if ('onhashchange' in window) {
47 window.onhashchange = JumpToLine;
48 }
49
50 -->
51 </script>
52 </head>
53 <body onload='JumpToLine();'>
54 <pre id='vimCodeElement'>
55 <span id="L1" class="LineNr"> 1 </span><span class="Comment">// Make sure header is only included once</span>
56 <span id="L2" class="LineNr"> 2 </span><span class="PreProc">#ifndef TYPEDEFS_H_</span>
57 <span id="L3" class="LineNr"> 3 </span><span class="PreProc">#define TYPEDEFS_H_</span>
58 <span id="L4" class="LineNr"> 4 </span>
59 <span id="L5" class="LineNr"> 5 </span><span class="Comment">// Define whether the program should output values of matrices</span>
60 <span id="L6" class="LineNr"> 6 </span><span class="Comment">//const bool verbose = false;</span>
61 <span id="L7" class="LineNr"> 7 </span><span class="Type">const</span> <span class="Type">bool</span> verbose = <span class="Constant">true</span>;
62 <span id="L8" class="LineNr"> 8 </span>
63 <span id="L9" class="LineNr"> 9 </span><span class="Comment">// Choose length variable type</span>
64 <span id="L10" class="LineNr">10 </span><span class="Type">typedef</span> <span class="Type">unsigned</span> <span class="Type">int</span> Inttype;
65 <span id="L11" class="LineNr">11 </span>
66 <span id="L12" class="LineNr">12 </span><span class="Comment">// Choose floating-point precision</span>
67 <span id="L13" class="LineNr">13 </span><span class="Type">typedef</span> <span class="Type">double</span> Floattype;
68 <span id="L14" class="LineNr">14 </span>
69 <span id="L15" class="LineNr">15 </span><span class="PreProc">#endif</span>
70 </pre>
71 </body>
72 </html>
73 <!-- vim: set foldmethod=manual : -->