IsHyperbolic
com.phasmidsoftware.number.expression.expr.IsHyperbolic
object IsHyperbolic
An extractor object that checks if a given expression is hyperbolic by matching it against the hyperbolic sine (sinh) or hyperbolic cosine (cosh) functions.
The object provides an unapply method that takes an Expression as input and attempts to extract the inner expression z if the input expression matches the form of a hyperbolic function.
Cases:
- Matches expressions of the form UniFunction(z, Sinh) or UniFunction(z, Cosh) and returns the inner expression
zin a Some if matched. - Returns None if the input expression does not match the hyperbolic form.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IsHyperbolic.type
Members list
In this article