-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Labels
L: MathIssue addresses Modelica.MathIssue addresses Modelica.Math
Milestone
Description
I suppose the derivative of Math.Special.erf should be defined, like: annotation(derivative=derf);
and implementing the derivative;
function derf "Derivative of error function"
input Real u;
input Real deru;
output Real y;
algorithm
y:=2/sqrt(Modelica.Constants.pi)*exp(-u^2)*deru;
annotation(Inline=true);
end derf;
Usefull at least when a tool tries to differentiate for index reduction.
Additonally, the inverse-annotation (erfInv) is missing.
Same remarks for erfc and erfcInv.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
L: MathIssue addresses Modelica.MathIssue addresses Modelica.Math