Class Cosh
java.lang.Object
calculator.functions.UnaryFunction
calculator.functions.Cosh
- All Implemented Interfaces:
Expression
This class represents the arithmetic unary operation "cosh".
The class extends an abstract superclass UnaryOperation.
-
Field Summary
Fields inherited from class UnaryFunction
arg, symbol -
Constructor Summary
ConstructorsConstructorDescriptionCosh(Expression arg) Class constructor specifying an Expression to apply the hyperbolic cosine function. -
Method Summary
-
Constructor Details
-
Cosh
Class constructor specifying an Expression to apply the hyperbolic cosine function.- Parameters:
arg- The Expression to apply the operation on- Throws:
IllegalConstruction- If a null argument is passed
-
-
Method Details
-
op
- Specified by:
opin classUnaryFunction
-
op
- Specified by:
opin classUnaryFunction
-
op
- Specified by:
opin classUnaryFunction
-
op
- Specified by:
opin classUnaryFunction
-