![]() |
Reference Documentation |
#include <Function.h>
Inheritance diagram for Function_plain_wrapper::
Public Methods | |
Function_plain_wrapper (std::string label, Anaphe::IModelFunction *modelFun) | |
virtual | ~Function_plain_wrapper () |
If owner == true claim ownership. Function(string label, Anaphe::IModelFunction *modelFun, bool owner);. More... | |
virtual const std::string& | label () const |
virtual double | value (const std::vector< double > &point) const |
virtual int | dimension () const |
virtual const std::vector< std::string >& | parameterNames () const |
virtual const std::vector< double >& | parameterValues () const |
virtual bool | setParameterValue (const std::string &name, double value) |
virtual const std::string& | version () const |
bool | setParameterValues (std::vector< double > vals) |
Protected Attributes | |
std::string | m_label |
std::vector<std::string> | m_parNames |
performance. More... | |
std::vector<double> | m_parVals |
Anaphe::IModelFunction* | m_modelFun |
Private Methods | |
Function_plain_wrapper (const Function_plain_wrapper &) | |
Function_plain_wrapper& | operator= (const Function_plain_wrapper &) |
void | _init () |
Private Attributes | |
std::string | m_version |
Warning: two "entry" points to wrapped model function: external pointer and this class interface. Inconsistency may occur if both updated at the same time (this class caches some information from model function).
Could be better optimized but for start this should be OK.
Definition at line 50 of file Function.h.
|
Function uses functionality of IModelFunctions in Anaphe. IModelFunction pointer must not be null. No ownership transfer. User must make sure that model function will not be deleted before this wrapper is deleted. |
|
Definition at line 65 of file Function.cpp. |
|
Definition at line 71 of file Function.cpp. |
|
Definition at line 57 of file Function.cpp. |
|
Definition at line 92 of file Function.cpp. Referenced by Function_impl_owner::dimension(), and FitFunction::dimension().
|
|
Definition at line 82 of file Function.cpp. Referenced by Function_impl_owner::label(), and FitFunction::label().
|
|
Definition at line 75 of file Function.cpp. |
|
Definition at line 97 of file Function.cpp. Referenced by Function_impl_owner::parameterNames(), and FitFunction::parameterNames().
|
|
Definition at line 102 of file Function.cpp. Referenced by Function_impl_owner::parameterValues(), and FitFunction::parameterValues().
|
|
Definition at line 112 of file Function.cpp. Referenced by Function_impl_owner::setParameterValue(), and FitFunction::setParameterValue().
|
|
Referenced by FitFunction::m_fit(), and Function_impl_owner::setParameterValues().
|
|
Definition at line 87 of file Function.cpp. Referenced by Function_impl_owner::value(), and FitFunction::value().
|
|
Definition at line 107 of file Function.cpp. Referenced by Function_impl_owner::version().
|
|
Definition at line 121 of file Function.h. |
|
Definition at line 127 of file Function.h. |
|
Definition at line 124 of file Function.h. |
|
Definition at line 125 of file Function.h. |
|
Definition at line 132 of file Function.h. |
Anaphe documentation generated by Doxygen (www.doxygen.org) |