Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
dfad_sfad_example.cpp File Reference
#include <iostream>
#include <iomanip>
#include "Sacado.hpp"
Include dependency graph for dfad_sfad_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 analytic_deriv (double a, double b, double c, double &drda, double &drdb, double &d2rda2, double &d2rdb2, double &d2rdadb)
 
template<typename ScalarT >
void func_and_deriv (const ScalarT &a, const ScalarT &b, const ScalarT &c, ScalarT &r, ScalarT &drda, ScalarT &drdb)
 
template<typename ScalarT >
void func_and_deriv2 (const ScalarT &a, const ScalarT &b, const ScalarT &c, const ScalarT &v_a, const ScalarT &v_b, ScalarT &r, ScalarT &drda, ScalarT &drdb, ScalarT &z_a, ScalarT &z_b)
 
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 47 of file dfad_sfad_example.cpp.

void analytic_deriv ( double  a,
double  b,
double  c,
double &  drda,
double &  drdb,
double &  d2rda2,
double &  d2rdb2,
double &  d2rdadb 
)

Definition at line 53 of file dfad_sfad_example.cpp.

template<typename ScalarT >
void func_and_deriv ( const ScalarT &  a,
const ScalarT &  b,
const ScalarT &  c,
ScalarT &  r,
ScalarT &  drda,
ScalarT &  drdb 
)

Definition at line 67 of file dfad_sfad_example.cpp.

template<typename ScalarT >
void func_and_deriv2 ( const ScalarT &  a,
const ScalarT &  b,
const ScalarT &  c,
const ScalarT &  v_a,
const ScalarT &  v_b,
ScalarT &  r,
ScalarT &  drda,
ScalarT &  drdb,
ScalarT &  z_a,
ScalarT &  z_b 
)

Definition at line 91 of file dfad_sfad_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 115 of file dfad_sfad_example.cpp.