trad_sfc_example.cpp File Reference

#include <iostream>
#include <iomanip>
#include "Sacado.hpp"

Include dependency graph for trad_sfc_example.cpp:

Go to the source code of this file.

Typedefs

typedef Sacado::FlopCounterPack::ScalarFlopCounter<
double > 
SFC
typedef Sacado::Rad::ADvar<
SFC
RAD_SFC

Functions

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


Typedef Documentation

typedef Sacado::FlopCounterPack::ScalarFlopCounter<double> SFC

Definition at line 63 of file trad_sfc_example.cpp.

typedef Sacado::Rad::ADvar<SFC> RAD_SFC

Definition at line 64 of file trad_sfc_example.cpp.


Function Documentation

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

Definition at line 48 of file trad_sfc_example.cpp.

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

Definition at line 56 of file trad_sfc_example.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 66 of file trad_sfc_example.cpp.


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