Download ProVIEW User`s Guide - Applied Coherent Technology

Transcript
asin
Syntax:
Inverse Sine
asin(a) or a.asin
Description:
Compute the inverse sine of each array element. The output is in radians.
The actual mathematical expression computed is given by,
c j,i = a sin( a j ,i ) for all j, i;
where j and i are row and column indices respectively.
Example:
The following MSHELL statement will compute the inverse sine of ‘a’, and
store the result in ‘c’.
[ready]: c = asin(a);
atan
Syntax:
Inverse Tangent
atan(a) or a.atan
Description:
Compute the inverse tangent of each array element. The output is in radians.
The actual mathematical expression computed is given by,
c j,i = atan( a j,i ) for all j, i;
where j and i are row and column indices respectively. The returned values are between π/2
and +π/2.
Example:
The following MSHELL statement will compute the inverse tangent of ‘a’
and store the result in ‘c’.
[ready]: c = atan(x);
atan2
Syntax:
Inverse Tangent
atan2(y,x)
Description:
Computes the inverse tangent of each array element. The output is in
radians. Returns the arc tangent of y/x (in the range -π to +π); atan2 produces correct results
even when the resulting angle is near -π/2 or +π/2 (i.e. x near 0).
Note that the input values must be in the range of -1 to +1, otherwise incorrect results will be
generated, also note that if both x and y are set to 0, atan2(y,x) is set equal to 1.
ProVIEW User’s Guide
Appendix B : Internal Functions
B-83