ad_example.cpp File Reference

#include <Sacado.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 40 of file ad_example.cpp.

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

Definition at line 41 of file ad_example.cpp.

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

Definition at line 42 of file ad_example.cpp.


Function Documentation

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

Definition at line 45 of file ad_example.cpp.

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

Definition at line 49 of file ad_example.cpp.

void Fad_demo (  ) 

Definition at line 62 of file ad_example.cpp.

void Fad2_demo (  ) 

Definition at line 106 of file ad_example.cpp.

void Fad3_demo (  ) 

Definition at line 134 of file ad_example.cpp.

void Rad_demo (  ) 

Definition at line 155 of file ad_example.cpp.

int main ( void   ) 

Definition at line 191 of file ad_example.cpp.


Generated on Wed May 12 21:39:42 2010 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.4.7