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

Go to the source code of this file.

Typedefs

typedef Sacado::Fad::DFad< double > F
 
typedef Sacado::Fad::SFad
< double, 2 > 
F2
 
typedef Sacado::Rad::ADvar
< double > 
R
 

Functions

template<typename T >
const T func2 (T &a, T &b)
 
template<typename T >
const T func (int n, T *x)
 
void Fad_demo ()
 
void Fad2_demo ()
 
void Fad3_demo ()
 
void Rad_demo ()
 
int main ()
 

Typedef Documentation

typedef Sacado::Fad::DFad<double> F

Definition at line 20 of file ad_example.cpp.

typedef Sacado::Fad::SFad<double,2> F2

Definition at line 21 of file ad_example.cpp.

typedef Sacado::Rad::ADvar<double> R

Definition at line 22 of file ad_example.cpp.

Function Documentation

template<typename T >
const T func2 ( T a,
T b 
)

Definition at line 25 of file ad_example.cpp.

template<typename T >
const T func ( int  n,
T x 
)

Definition at line 29 of file ad_example.cpp.

void Fad_demo ( )

Definition at line 42 of file ad_example.cpp.

void Fad2_demo ( )

Definition at line 86 of file ad_example.cpp.

void Fad3_demo ( )

Definition at line 114 of file ad_example.cpp.

void Rad_demo ( )

Definition at line 135 of file ad_example.cpp.

int main ( void  )

Definition at line 171 of file ad_example.cpp.