45 const double stplim = 0.2;
51 if(pars[0] != 0.0) itsStep /= pars[0];
54 itsStep /=
sqrt(pars[0] * (pars[0] - itsMin - itsMax) + itsMin * itsMax);
61 if(itsStep > stplim) itsStep = stplim;
93 value =
itsMin + value * value;
96 value =
itsMax - value * value;
123 std::streamsize old_prec = os.precision(10);
void setReal(Attribute &attr, double val)
Set real value.
PETE_TUTree< FnAbs, typename T::PETE_Expr_t > abs(const PETE_Expr< T > &l)
Tps< T > sin(const Tps< T > &x)
Sine.
const std::string itsName
Name of the variable.
static OpalData * getInstance()
A representation of an Object attribute.
virtual void setExternalValue(double)
Set the current external parameter value.
virtual double getInternalValue() const
Get the current internal parameter value.
virtual double getExternalValue() const
Get the current external parameter value.
Tps< T > sqrt(const Tps< T > &x)
Square root.
virtual void print(std::ostream &) const
Print the variable name and value.
PETE_TUTree< FnArcSin, typename T::PETE_Expr_t > asin(const PETE_Expr< T > &l)
virtual void setInternalValue(double)
Set the current internal parameter value.
Abstract base for a matching variable.
double getReal(const Attribute &attr)
Return real value.
Inform & endl(Inform &inf)
void makeDirty(Object *object)
Invalidate expressions.