CppADCodeGen
2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
language_c_double.hpp
1
#ifndef CPPAD_CG_LANGUAGE_C_DOUBLE_INCLUDED
2
#define CPPAD_CG_LANGUAGE_C_DOUBLE_INCLUDED
3
/* --------------------------------------------------------------------------
4
* CppADCodeGen: C++ Algorithmic Differentiation with Source Code Generation:
5
* Copyright (C) 2012 Ciengis
6
*
7
* CppADCodeGen is distributed under multiple licenses:
8
*
9
* - Eclipse Public License Version 1.0 (EPL1), and
10
* - GNU General Public License Version 3 (GPL3).
11
*
12
* EPL1 terms and conditions can be found in the file "epl-v10.txt", while
13
* terms and conditions for the GPL3 can be found in the file "gpl3.txt".
14
* ----------------------------------------------------------------------------
15
* Author: Joao Leal
16
*/
17
18
namespace
CppAD
{
19
namespace
cg {
20
26
template
<>
27
inline
const
std::string& LanguageC<double>::absFuncName() {
28
static
const
std::string name(
"fabs"
);
29
return
name;
30
}
31
32
template
<>
33
inline
const
std::string& LanguageC<double>::getPrintfBaseFormat() {
34
static
const
std::string format(
"%f"
);
35
return
format;
36
}
37
38
}
// END cg namespace
39
}
// END CppAD namespace
40
41
#endif
CppAD
Definition:
abstract_atomic_fun.hpp:19
include
cppad
cg
lang
c
language_c_double.hpp
Generated on Tue Jan 23 2024 12:54:30 for CppADCodeGen by
1.9.1