Prev Next Index-> contents reference index search external Up-> CppAD Appendix compare_c CppAD-> Install Introduction AD ADFun preprocessor multi_thread utility ipopt_solve Example speed Appendix Appendix-> Faq directory Theory glossary Bib wish_list whats_new deprecated compare_c numeric_ad addon License compare_c-> det_of_minor_c det_by_minor_c uniform_01_c correct_det_by_minor_c repeat_det_by_minor_c elapsed_seconds_c time_det_by_minor_c main_compare_c Headings-> Syntax Purpose Contents

$\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }$
Compare Speed of C and C++

Syntax
test_more/compare_c/det_by_minor_c  test_more/compare_c/det_by_minor_cpp

Purpose
Compares the speed of the exact same source code compiled using C versus C++.

Contents
 det_of_minor_c Determinant of a Minor det_by_minor_c Compute Determinant using Expansion by Minors uniform_01_c Simulate a [0,1] Uniform Random Variate correct_det_by_minor_c Correctness Test of det_by_minor Routine repeat_det_by_minor_c Repeat det_by_minor Routine A Specified Number of Times elapsed_seconds_c Returns Elapsed Number of Seconds time_det_by_minor_c Determine Amount of Time to Execute det_by_minor main_compare_c Main Program For Comparing C and C++ Speed

Input File: test_more/compare_c/CMakeLists.txt