numeric

C++ library with numerical algorithms
git clone git://src.adamsgaard.dk/numeric # fast
git clone https://src.adamsgaard.dk/numeric.git # slow
Log | Files | Refs | README | LICENSE Back to index

check.h.html (2200B)


      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/check.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 .LineNr { color: #804000; }
     17 .PreProc { color: #c000c0; }
     18 .Type { color: #008000; }
     19 .Comment { color: #008080; }
     20 -->
     21 </style>
     22 
     23 <script type='text/javascript'>
     24 <!--
     25 
     26 /* function to open any folds containing a jumped-to line before jumping to it */
     27 function JumpToLine()
     28 {
     29   var lineNum;
     30   lineNum = window.location.hash;
     31   lineNum = lineNum.substr(1); /* strip off '#' */
     32 
     33   if (lineNum.indexOf('L') == -1) {
     34     lineNum = 'L'+lineNum;
     35   }
     36   lineElem = document.getElementById(lineNum);
     37   /* Always jump to new location even if the line was hidden inside a fold, or
     38    * we corrected the raw number to a line ID.
     39    */
     40   if (lineElem) {
     41     lineElem.scrollIntoView(true);
     42   }
     43   return true;
     44 }
     45 if ('onhashchange' in window) {
     46   window.onhashchange = JumpToLine;
     47 }
     48 
     49 -->
     50 </script>
     51 </head>
     52 <body onload='JumpToLine();'>
     53 <pre id='vimCodeElement'>
     54 <span id="L1" class="LineNr">1 </span><span class="PreProc">#ifndef CHECK_H_</span>
     55 <span id="L2" class="LineNr">2 </span><span class="PreProc">#define CHECK_H_</span>
     56 <span id="L3" class="LineNr">3 </span>
     57 <span id="L4" class="LineNr">4 </span><span class="Comment">// Prototype for checking function</span>
     58 <span id="L5" class="LineNr">5 </span><span class="Type">void</span> check(<span class="Type">const</span> <span class="Type">bool</span> statement);
     59 <span id="L6" class="LineNr">6 </span>
     60 <span id="L7" class="LineNr">7 </span><span class="PreProc">#endif</span>
     61 </pre>
     62 </body>
     63 </html>
     64 <!-- vim: set foldmethod=manual : -->