MonadicOperationAtan
MonadicOperation to yield the arctangent of a Number.
Value parameters
- sign
-
an Int which will distinguish between results in the four quadrants.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MonadicOperationtrait Operationclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Adjusts the given angle encapsulated in a Try[Rational], potentially flipping it and normalizing its value.
Adjusts the given angle encapsulated in a Try[Rational], potentially flipping it and normalizing its value.
Value parameters
- flip
-
A Boolean value that determines whether the angle should be flipped (negated).
- ry
-
The angle wrapped in a Try[Rational], which may be adjusted.
Attributes
- Returns
-
A Try[Rational] containing the modulated angle value, or a failure if the input computation fails.
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
Concrete fields
Method to yield a set of functions which can be applied to Int, Rational, or Double values for this MonadicOperation.
Method to yield a set of functions which can be applied to Int, Rational, or Double values for this MonadicOperation.
Attributes
- Returns
-
a set of three functions: Int=>Try[Int], Rational=>Try[Rational], Double=>Try[Double].
Relative precision, as used by Fuzziness.createFuzz. If None, then this operation does not introduce any precision loss.
Relative precision, as used by Fuzziness.createFuzz. If None, then this operation does not introduce any precision loss.
Attributes
Function to yield the relative fuzz of the output Number, given the relative fuzz of the input Number.
Function to yield the relative fuzz of the output Number, given the relative fuzz of the input Number.
The general formula for a monadic operation is: x * dfByDx(x) / f(x)