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

Go to the source code of this file.

Classes

struct  MakeFad< N >
 
struct  MakeFad< 1 >
 

Typedefs

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

Functions

template<typename Scalar >
Scalar func (const int m, const Scalar x[])
 
template<typename TermIterator >
double extract_derivative (const double &x, TermIterator term, TermIterator term_end)
 
template<typename T , typename TermIterator >
double extract_derivative (const T &x, TermIterator term, TermIterator term_end)
 
int main (int argc, char **argv)
 

Typedef Documentation

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

Definition at line 24 of file high_order_example.cpp.

Function Documentation

template<typename Scalar >
Scalar func ( const int  m,
const Scalar  x[] 
)

Definition at line 28 of file high_order_example.cpp.

template<typename TermIterator >
double extract_derivative ( const double &  x,
TermIterator  term,
TermIterator  term_end 
)

Definition at line 78 of file high_order_example.cpp.

template<typename T , typename TermIterator >
double extract_derivative ( const T x,
TermIterator  term,
TermIterator  term_end 
)

Definition at line 84 of file high_order_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 97 of file high_order_example.cpp.