Sacado::ScalarParameterFamily Class Reference

Specialization of Sacado::ParameterFamilyBase for scalar parameters. More...

#include <Sacado_ScalarParameterFamily.hpp>

Inheritance diagram for Sacado::ScalarParameterFamily:

Inheritance graph
[legend]
Collaboration diagram for Sacado::ScalarParameterFamily:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScalarParameterFamily (const std::string &name, bool supports_ad, bool supports_analytic)
 Constructor.
virtual ~ScalarParameterFamily ()
 Destructor.
void setRealValueForAllTypes (double value)
 Set paramter value using a real number.
template<class ValueType>
void setValueAsConstant (const ValueType &value)
 Set parameter to value value treating parameter as a constant.
template<class ValueType>
void setValueAsIndependent (const ValueType &value)
 Set parameter to value value treating parameter as an independent.
template<class ValueType>
const ValueTypegetValue () const
 Get parameter value.

Related Functions

(Note that these are not member functions.)

template<class ValueType>
ValueType getValue (const ScalarParameterFamily &spf)
 Get the value.

Detailed Description

Specialization of Sacado::ParameterFamilyBase for scalar parameters.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:58:56 2010 for Sacado by  doxygen 1.4.7