arctan2 {FuzzyNumbers} | R Documentation |
Arc-tangent
Description
The arc-tangent of two arguments arctan2(y, x) returns the angle between the x-axis and the vector from the origin to (x, y) for PiecewiseLinearFuzzyNumbers.
Usage
## S4 method for signature
## 'PiecewiseLinearFuzzyNumber,PiecewiseLinearFuzzyNumber'
arctan2(y, x)
Arguments
y |
a PiecewiseLinearFuzzyNumber |
x |
a PiecewiseLinearFuzzyNumber |
Details
Note that resulting values are no longer from interval [-pi,pi] but [-1.5pi,pi], in order to provide valid fuzzy numbers as result.
Value
Returns a fuzzy number of the class PiecewiseLinearFuzzyNumber indicating the angle specified by the input fuzzy numbers. The range of results is [-1.5pi,pi].
See Also
Other PiecewiseLinearFuzzyNumber-method:
Arithmetic
,
Extract
,
PiecewiseLinearFuzzyNumber-class
,
PiecewiseLinearFuzzyNumber
,
^,PiecewiseLinearFuzzyNumber,numeric-method
,
alphaInterval()
,
as.PiecewiseLinearFuzzyNumber()
,
as.PowerFuzzyNumber()
,
as.TrapezoidalFuzzyNumber()
,
as.character()
,
expectedInterval()
,
fapply()
,
maximum()
,
minimum()
,
necessityExceedance()
,
necessityStrictExceedance()
,
necessityStrictUndervaluation()
,
necessityUndervaluation()
,
plot()
,
possibilityExceedance()
,
possibilityStrictExceedance()
,
possibilityStrictUndervaluation()
,
possibilityUndervaluation()
Examples
y = as.PiecewiseLinearFuzzyNumber(TriangularFuzzyNumber(-2, 3, 5), knot.n = 9)
x = as.PiecewiseLinearFuzzyNumber(TriangularFuzzyNumber(-4.8, -4, 1.5), knot.n = 9)
arctan2(y,x)