functionatan3b
Obsolete function: Four quadrant inverse tangent (select solution that is closest to given angle y0)
Extends from Modelica.Math.Icons.AxisCenter (Basic icon for mathematical function with y-axis in the center), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Information
This function returns y = atan3(u1,u2,y0) such that
tan(y) = u1/u2 and
y is in the range: -pi < y-y0 < pi.
u2 may be zero, provided u1 is not zero. The difference to
Modelica.Math.atan3(…)
is that the derivatives of atan3 are explicitly defined here.
See also
atan3b_der for 1st derivative and atan3b_dder for 2nd derivative of this function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u1 | ||
| Real | u2 | ||
| SI.Angle | y0 | 0 | y shall be in the range: -pi < y-y0 < pi |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Angle | y |
Revisions
Developed 2010 at the DLR Institute of System Dynamics and Control