Package edu.jas.ufd
Class QuotientTaylorFunction<C extends GcdRingElem<C>>
java.lang.Object
edu.jas.ufd.QuotientTaylorFunction<C>
- Type Parameters:
C
- ring element type
- All Implemented Interfaces:
TaylorFunction<C>
public class QuotientTaylorFunction<C extends GcdRingElem<C>>
extends Object
implements TaylorFunction<C>
Polynomial quotient functions capable for Taylor series expansion.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDerivative.derivative
(int r) Partial derivative.Multi-partial derivative.Evaluate.Evaluate at a tuple of elements.long
getFacul()
Get the factorial coefficient.boolean
isZERO()
Test if this is zero.toString()
To String.
-
Field Details
-
quo
-
facul
final long facul
-
-
Constructor Details
-
QuotientTaylorFunction
-
QuotientTaylorFunction
-
-
Method Details
-
toString
To String. -
getFacul
public long getFacul()Get the factorial coefficient.- Specified by:
getFacul
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Returns:
- factorial coefficient.
-
isZERO
public boolean isZERO()Test if this is zero.- Specified by:
isZERO
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Returns:
- true if this is 0, else false.
-
derivative
Derivative.- Specified by:
derivative
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Returns:
- derivative of this.
-
derivative
Partial derivative.- Parameters:
r
- index of the variable.- Returns:
- partial derivative of this with respect to variable r.
-
derivative
Multi-partial derivative.- Specified by:
derivative
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Parameters:
i
- exponent vector.- Returns:
- partial derivative of this with respect to all variables.
-
evaluate
Evaluate.- Specified by:
evaluate
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Parameters:
a
- element.- Returns:
- this(a).
-
evaluate
Evaluate at a tuple of elements.- Specified by:
evaluate
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Parameters:
a
- tuple of elements.- Returns:
- this(a).
-