Class Polynomial
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.Poisson.Octree.Polynomial
-
public class Polynomial extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description double[]
coefficients
int
Degree
-
Constructor Summary
Constructors Constructor Description Polynomial(int _Degree)
Polynomial(Polynomial P, int _Degree)
-
Method Summary
-
-
-
Constructor Detail
-
Polynomial
public Polynomial(int _Degree)
-
Polynomial
public Polynomial(Polynomial P, int _Degree)
-
-
Method Detail
-
set
public Polynomial set(Polynomial p)
-
derivative
public final Polynomial derivative()
-
integral
public final Polynomial integral()
-
evaluate
public final double evaluate(double t)
-
integral
public final double integral(double tMin, double tMax)
-
equals
public final int equals(Polynomial p)
-
not_equals
public final int not_equals(Polynomial p)
-
isZero
public final int isZero()
-
setZero
public final void setZero()
-
addScaled
public Polynomial addScaled(Polynomial p, double s)
-
add_into
public Polynomial add_into(Polynomial p)
-
sub_into
public Polynomial sub_into(Polynomial p)
-
add
public final Polynomial add(Polynomial p)
-
sub
public final Polynomial sub(Polynomial p)
-
Scale
public void Scale(Polynomial p, double w, Polynomial q)
-
AddScaled
public void AddScaled(Polynomial p1, double w1, Polynomial p2, double w2, Polynomial q)
-
AddScaled
public void AddScaled(Polynomial p1, double w1, Polynomial p2, Polynomial q)
-
AddScaled
public void AddScaled(Polynomial p1, Polynomial p2, double w2, Polynomial q)
-
Subtract
public void Subtract(Polynomial p1, Polynomial p2, Polynomial q)
-
Negate
public void Negate(Polynomial in, Polynomial out)
-
neg
public final Polynomial neg()
-
mul
public final Polynomial mul(Polynomial p)
-
add_into
public Polynomial add_into(double s)
-
sub_into
public Polynomial sub_into(double s)
-
mul_into
public Polynomial mul_into(double s)
-
div_into
public Polynomial div_into(double s)
-
add
public final Polynomial add(double s)
-
sub
public final Polynomial sub(double s)
-
mul
public final Polynomial mul(double s)
-
div
public final Polynomial div(double s)
-
scale
public final Polynomial scale(double s)
-
shift
public final Polynomial shift(double t)
-
Print
public final void Print()
-
getSolutions
public final void getSolutions(double c, java.util.Vector<java.lang.Double> roots, double EPS)
-
-