Package edu.jas.ps
Class PolynomialTaylorFunction<C extends RingElem<C>>
java.lang.Object
edu.jas.ps.PolynomialTaylorFunction<C>
- Type Parameters:
C- ring element type
- All Implemented Interfaces:
TaylorFunction<C>
public class PolynomialTaylorFunction<C extends RingElem<C>>
extends Object
implements TaylorFunction<C>
Polynomial functions capable for Taylor series expansion.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long(package private) final GenPolynomial<C> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pol
-
facul
final long facul
-
-
Constructor Details
-
PolynomialTaylorFunction
-
PolynomialTaylorFunction
-
-
Method Details
-
toString
To String. -
getFacul
public long getFacul()Get the factorial coefficient.- Specified by:
getFaculin interfaceTaylorFunction<C extends RingElem<C>>- Returns:
- factorial coefficient.
-
isZERO
public boolean isZERO()Test if this is zero.- Specified by:
isZEROin interfaceTaylorFunction<C extends RingElem<C>>- Returns:
- true if this is 0, else false.
-
derivative
Derivative.- Specified by:
derivativein interfaceTaylorFunction<C extends RingElem<C>>- Returns:
- derivative of this.
-
derivative
Multi-partial derivative.- Specified by:
derivativein interfaceTaylorFunction<C extends RingElem<C>>- Parameters:
i- exponent vector.- Returns:
- partial derivative of this with respect to all variables.
-
evaluate
Evaluate.- Specified by:
evaluatein interfaceTaylorFunction<C extends RingElem<C>>- Parameters:
a- element.- Returns:
- this(a).
-
evaluate
Evaluate at a tuple of elements.- Specified by:
evaluatein interfaceTaylorFunction<C extends RingElem<C>>- Parameters:
a- tuple of elements.- Returns:
- this(a).
-