<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<head>
<title>Compare Speed of C and C++</title>
<meta name="description" id="description" content="Compare Speed of C and C++"/>
<meta name="keywords" id="keywords" content=" compare speed C and C++ with "/>
<style type='text/css'>
body { color : black }
body { background-color : white }
A:link { color : blue }
A:visited { color : purple }
A:active { color : purple }
</style>
<script type='text/javascript' language='JavaScript' src='_compare_c_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<a href="http://www.coin-or.org/CppAD/" target="_top"><img border="0" src="_image.gif"/></a>
</td>
<td><a href="old_mat_mul.hpp.xml" target="_top">Prev</a>
</td><td><a href="det_of_minor_c.xml" target="_top">Next</a>
</td><td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
<option>external</option>
</select>
</td>
<td>
<select onchange='choose_up0(this)'>
<option>Up-&gt;</option>
<option>CppAD</option>
<option>Appendix</option>
<option>compare_c</option>
</select>
</td>
<td>
<select onchange='choose_down2(this)'>
<option>CppAD-&gt;</option>
<option>Install</option>
<option>Introduction</option>
<option>AD</option>
<option>ADFun</option>
<option>preprocessor</option>
<option>multi_thread</option>
<option>library</option>
<option>ipopt_solve</option>
<option>Example</option>
<option>speed</option>
<option>Appendix</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>Appendix-&gt;</option>
<option>Faq</option>
<option>Theory</option>
<option>glossary</option>
<option>Bib</option>
<option>Bugs</option>
<option>WishList</option>
<option>whats_new</option>
<option>deprecated</option>
<option>compare_c</option>
<option>License</option>
</select>
</td>
<td>
<select onchange='choose_down0(this)'>
<option>compare_c-&gt;</option>
<option>det_of_minor_c</option>
<option>det_by_minor_c</option>
<option>uniform_01_c</option>
<option>correct_det_by_minor_c</option>
<option>repeat_det_by_minor_c</option>
<option>elapsed_seconds_c</option>
<option>time_det_by_minor_c</option>
<option>main_compare_c</option>
</select>
</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Syntax</option>
<option>Purpose</option>
<option>Contents</option>
</select>
</td>
</tr></table><br/>
 


<center><b><big><big>Compare Speed of C and C++</big></big></b></center>
<br/>
<b><big><a name="Syntax" id="Syntax">Syntax</a></big></b>

<br/>

<code><font color="blue"><span style='white-space: nowrap'>compare_c/det_by_minor_c<br/>
</span></font></code>

<code><font color="blue"><span style='white-space: nowrap'>compare_c/det_by_minor_cpp</span></font></code>


<br/>
<br/>
<b><big><a name="Purpose" id="Purpose">Purpose</a></big></b>
<br/>
Compares the speed of the exact same source code compiled
using C versus C++.

<br/>
<br/>
<b><big><a name="Contents" id="Contents">Contents</a></big></b>
<br/>
<table>
<tr><td><a href="det_of_minor_c.xml" target="_top">det_of_minor_c</a></td><td>Determinant&#xA0;of&#xA0;a&#xA0;Minor</td></tr><tr><td><a href="det_by_minor_c.xml" target="_top">det_by_minor_c</a></td><td>Compute&#xA0;Determinant&#xA0;using&#xA0;Expansion&#xA0;by&#xA0;Minors</td></tr><tr><td><a href="uniform_01_c.xml" target="_top">uniform_01_c</a></td><td>Simulate&#xA0;a&#xA0;[0,1]&#xA0;Uniform&#xA0;Random&#xA0;Variate</td></tr><tr><td><a href="correct_det_by_minor_c.xml" target="_top">correct_det_by_minor_c</a></td><td>Correctness&#xA0;Test&#xA0;of&#xA0;det_by_minor&#xA0;Routine</td></tr><tr><td><a href="repeat_det_by_minor_c.xml" target="_top">repeat_det_by_minor_c</a></td><td>Repeat&#xA0;det_by_minor&#xA0;Routine&#xA0;A&#xA0;Specified&#xA0;Number&#xA0;of&#xA0;Times</td></tr><tr><td><a href="elapsed_seconds_c.xml" target="_top">elapsed_seconds_c</a></td><td>Returns&#xA0;Elapsed&#xA0;Number&#xA0;of&#xA0;Seconds</td></tr><tr><td><a href="time_det_by_minor_c.xml" target="_top">time_det_by_minor_c</a></td><td>Determine&#xA0;Amount&#xA0;of&#xA0;Time&#xA0;to&#xA0;Execute&#xA0;det_by_minor</td></tr><tr><td><a href="main_compare_c.xml" target="_top">main_compare_c</a></td><td>Main&#xA0;Program&#xA0;For&#xA0;Comparing&#xA0;C&#xA0;and&#xA0;C++&#xA0;Speed</td></tr></table>
<hr/>Input File: compare_c/CMakeLists.txt

</body>
</html>
