Uses of Class
calculator.functions.UnaryFunction
Packages that use UnaryFunction
-
Uses of UnaryFunction in calculator.atoms
Methods in calculator.atoms with parameters of type UnaryFunctionModifier and TypeMethodDescriptionAtom.apply(UnaryFunction o) Applies an operation on the atomComplex.apply(UnaryFunction o) IntegerAtom.apply(UnaryFunction o) applies a unary operation to the IntegerAtomRationnal.apply(UnaryFunction o) Real.apply(UnaryFunction o) -
Uses of UnaryFunction in calculator.functions
Subclasses of UnaryFunction in calculator.functionsModifier and TypeClassDescriptionfinal classThis class represents the arithmetic unary operation "acos".final classThis class represents the arithmetic unary operation "asin".final classThis class represents the arithmetic unary operation "atan".final classThis class represents the arithmetic unary operation "cosh".final classThis class represents the arithmetic unary operation "cos".final classThis class represents the natural logarithm unary operation "ln".final classThis class represents the arithmetic unary operation "sinh".final classThis class represents the arithmetic unary operation "sin".final classThis class represents the square root unary operation "sqrt".final classThis class represents the arithmetic unary operation "tan".final classThis class represents the arithmetic unary operation "tanh". -
Uses of UnaryFunction in visitor
Methods in visitor with parameters of type UnaryFunctionModifier and TypeMethodDescriptionvoidCounter.visit(UnaryFunction o) voidEvaluator.visit(UnaryFunction o) voidPrinter.visit(UnaryFunction o) abstract voidVisitor.visit(UnaryFunction f) The Visitor can traverse an unary function (a subtype of Expression)