Package functions
Interface Differentiable
- All Known Implementing Classes:
Abs
,Acos
,Acosh
,Acot
,Acoth
,Acsc
,Acsch
,Asec
,Asech
,Asin
,Asinh
,Atan
,Atanh
,BinaryFunction
,Ceil
,CommutativeFunction
,Constant
,Cos
,Cosh
,Cot
,Coth
,Csc
,Csch
,Differential
,Dirac
,DomainRestrictor
,EndpointFunction
,Exp
,Factorial
,Floor
,GCD
,GeneralFunction
,GeneralTrigFunction
,IntegerBinaryFunction
,IntegerCommutativeFunction
,IntegerQuotient
,IntegerUnitaryFunction
,Integral
,InverseTrigFunction
,LCM
,Ln
,Logb
,Modulo
,PartialDerivative
,PiecewiseFunction
,Pow
,Product
,Rand
,RFactorial
,Round
,Sec
,Sech
,SFactorial
,Sign
,Sin
,Sinh
,SpecialCaseBinaryFunction
,Sum
,Tan
,Tanh
,Transformation
,TrigFunction
,UnitaryFunction
,Variable
public interface Differentiable
The
Differentiable
interface provides an interface for the differentiation of functions.-
Method Summary
Modifier and Type Method Description GeneralFunction
getDerivative(String varID)
Returns the derivative of aGeneralFunction
with respect to a variable.GeneralFunction
getNthDerivative(String varID, int N)
Returns theN
th derivative of aGeneralFunction
with respect to a variable
-
Method Details
-
getDerivative
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
-
getNthDerivative
Returns theN
th derivative of aGeneralFunction
with respect to a variable- Parameters:
varID
- the ID of the variable that is differentiated againstN
- the amount of times to differentiate- Returns:
- the
N
th derivative of the function with respect tovarID
-