public class Polynomial extends Expression
Modifier and Type | Field and Description |
---|---|
(package private) double[] |
coeffs |
(package private) int |
degree |
(package private) double |
init |
(package private) java.lang.String |
variable |
Constant, loadedTable, local, localTable, name, patternDict, table, value
Constructor and Description |
---|
Polynomial(int i) |
Polynomial(int i,
double d) |
Polynomial(int i,
double d,
java.lang.String s) |
Polynomial(int i,
java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
Polynomial |
add(Polynomial polynomial) |
Polynomial |
compose(Polynomial polynomial) |
Expression |
copy() |
Polynomial |
integrate() |
Polynomial |
invert() |
Polynomial |
multiply(Polynomial polynomial) |
Polynomial |
scalar(double d) |
void |
set(int i,
double d) |
Polynomial |
subtract(Polynomial polynomial) |
Expression |
toExpression() |
Expression |
toExpression(double d) |
java.lang.String |
toString() |
boolean |
verify() |
clearAll, clearPatternValue, differentiate, equal, equals, f, f, getAddDecomp, getContinuity, getMultDecomp, getPowerHash, getValue, greater, hashCode, isFree, isPrime, match, N, replace, simplify, sort, Taylor, toMath, toTeX, type
double[] coeffs
int degree
double init
java.lang.String variable
Polynomial(int i)
Polynomial(int i, double d)
Polynomial(int i, double d, java.lang.String s)
Polynomial(int i, java.lang.String s)
public Polynomial add(Polynomial polynomial)
public Polynomial compose(Polynomial polynomial)
public Expression copy()
copy
in class Expression
public Polynomial integrate()
public Polynomial invert()
public Polynomial multiply(Polynomial polynomial)
public Polynomial scalar(double d)
public void set(int i, double d)
public Polynomial subtract(Polynomial polynomial)
public Expression toExpression()
public Expression toExpression(double d)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean verify()