Package functions.unitary.trig.inverse
Class Asech
- All Implemented Interfaces:
Differentiable
,Evaluable
,Integrable
,Invertible
,Outputable
,Simplifiable
,Comparable<GeneralFunction>
,Iterable<GeneralFunction>
public class Asech extends InverseTrigFunction
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Asech(GeneralFunction operand)
Constructs a newAsech
-
Method Summary
Modifier and Type Method Description double
evaluate(Map<String,Double> variableValues)
Returns the inverse hyperbolic secant of the storedUnitaryFunction.operand
evaluatedGeneralFunction
getDerivative(String varID)
Returns the derivative of aGeneralFunction
with respect to a variable.UnitaryFunction
getInstance(GeneralFunction operand)
Returns a new instance of thisUnitaryFunction
Class<?>
getInverse()
Returns theClass
corresponding to the inverse of this functionGeneralFunction
simplifyInverse()
IfUnitaryFunction.operand
is an instance of the inverse of this function, returnsoperand.operand
Methods inherited from class UnitaryFunction
clone, compareSelf, equalsFunction, hashCode, iterator, newInstanceOf, simplify, simplifyFOC, simplifyInternal, substituteAll, toString
Methods inherited from class GeneralFunction
compareTo, derivativeAt, equals, equalsSimplified, getNthDerivative, getSimplifiedDerivative, substituteVariables
-
Constructor Details
-
Method Details
-
getDerivative
Description copied from interface:Differentiable
Returns the derivative of aGeneralFunction
with respect to a variable. Should not be used in general;GeneralFunction.getSimplifiedDerivative(java.lang.String)
is strongly preferred.- Parameters:
varID
- the ID of the variable that is differentiated against- Returns:
- the derivative of the function with respect to
varID
-
evaluate
public double evaluate(Map<String,Double> variableValues)Returns the inverse hyperbolic secant of the storedUnitaryFunction.operand
evaluated- Parameters:
variableValues
- The values of the variables of theGeneralFunction
at the point- Returns:
- the arcsech of
UnitaryFunction.operand
evaluated
-
getInstance
Description copied from class:UnitaryFunction
Returns a new instance of thisUnitaryFunction
- Specified by:
getInstance
in classUnitaryFunction
- Parameters:
operand
- theGeneralFunction
to be operated on- Returns:
- a new instance of this
UnitaryFunction
-
getInverse
public Class<?> getInverse()Description copied from interface:Invertible
Returns theClass
corresponding to the inverse of this function- Returns:
- the inverse
Class
-
simplifyInverse
Description copied from class:UnitaryFunction
IfUnitaryFunction.operand
is an instance of the inverse of this function, returnsoperand.operand
- Overrides:
simplifyInverse
in classUnitaryFunction
- Returns:
operand.operand
ifUnitaryFunction.operand
is an instance of the inverse, andthis
otherwise
-