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 java.lang.Object implements TaylorFunction<C>
Polynomial quotient functions capable for Taylor series expansion.- Author:
- Heinz Kredel
-
-
Constructor Summary
Constructors Constructor Description QuotientTaylorFunction(Quotient<C> q)
QuotientTaylorFunction(Quotient<C> q, long f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaylorFunction<C>
derivative()
Derivative.TaylorFunction<C>
derivative(int r)
Partial derivative.TaylorFunction<C>
derivative(ExpVector i)
Multi-partial derivative.C
evaluate(C a)
Evaluate.C
evaluate(java.util.List<C> a)
Evaluate at a tuple of elements.long
getFacul()
Get the factorial coefficient.boolean
isZERO()
Test if this is zero.java.lang.String
toString()
To String.
-
-
-
Constructor Detail
-
QuotientTaylorFunction
public QuotientTaylorFunction(Quotient<C> q)
-
QuotientTaylorFunction
public QuotientTaylorFunction(Quotient<C> q, long f)
-
-
Method Detail
-
toString
public java.lang.String toString()
To String.- Overrides:
toString
in classjava.lang.Object
- Returns:
- string representation of this.
-
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
public TaylorFunction<C> derivative()
Derivative.- Specified by:
derivative
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Returns:
- derivative of this.
-
derivative
public TaylorFunction<C> derivative(int r)
Partial derivative.- Parameters:
r
- index of the variable.- Returns:
- partial derivative of this with respect to variable r.
-
derivative
public TaylorFunction<C> derivative(ExpVector i)
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
public C evaluate(C a)
Evaluate.- Specified by:
evaluate
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Parameters:
a
- element.- Returns:
- this(a).
-
evaluate
public C evaluate(java.util.List<C> a)
Evaluate at a tuple of elements.- Specified by:
evaluate
in interfaceTaylorFunction<C extends GcdRingElem<C>>
- Parameters:
a
- tuple of elements.- Returns:
- this(a).
-
-