Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
trad_dfad_example.cpp File Reference
#include <iostream>
#include <iomanip>
#include "Sacado_No_Kokkos.hpp"
Include dependency graph for trad_dfad_example.cpp:

Go to the source code of this file.

Functions

template<typename ScalarT >
ScalarT func (const ScalarT &a, const ScalarT &b, const ScalarT &c)
 
void func_deriv (double a, double b, double c, double &drda, double &drdb)
 
void func_deriv2 (double a, double b, double c, double &d2rda2, double &d2rdb2, double &d2rdadb)
 
int main (int argc, char **argv)
 

Function Documentation

template<typename ScalarT >
ScalarT func ( const ScalarT &  a,
const ScalarT &  b,
const ScalarT &  c 
)

Definition at line 48 of file trad_dfad_example.cpp.

void func_deriv ( double  a,
double  b,
double  c,
double &  drda,
double &  drdb 
)

Definition at line 54 of file trad_dfad_example.cpp.

void func_deriv2 ( double  a,
double  b,
double  c,
double &  d2rda2,
double &  d2rdb2,
double &  d2rdadb 
)

Definition at line 61 of file trad_dfad_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 69 of file trad_dfad_example.cpp.