|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UnivariatePolynomial
(Univariate) polynomial p in R[X].
Let R be a commutative ring with 1. The polynomial ring over R in one variable X is
The polynomial ring over a field in one variable even is Euclidean.
Polynomial,
ValueFactory.polynomial(Arithmetic[]),
ValueFactory.polynomial(Object),
ValueFactory.asPolynomial(Vector),
NumericalAlgorithms.polynomialInterpolation(Matrix)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface orbital.math.functional.Function |
|---|
Function.Composite |
| Nested classes/interfaces inherited from interface orbital.logic.functor.Functor |
|---|
Functor.Specification |
| Field Summary |
|---|
| Fields inherited from interface orbital.logic.functor.Function |
|---|
callTypeDeclaration |
| Method Summary | |
|---|---|
UnivariatePolynomial |
add(UnivariatePolynomial b)
|
java.lang.Object |
apply(java.lang.Object a)
Evaluate this polynomial at a. |
Integer |
degree()
Get the degree of this polynomial. |
Arithmetic |
get(int i)
Get the coefficient of Xi. |
Arithmetic[] |
getCoefficients()
Returns an array containing all the coefficients of this polynomial. |
java.util.ListIterator |
iterator()
Returns an iterator over all coefficients (up to degree). |
UnivariatePolynomial |
modulo(UnivariatePolynomial g)
|
UnivariatePolynomial |
multiply(UnivariatePolynomial b)
|
UnivariatePolynomial |
quotient(UnivariatePolynomial g)
|
UnivariatePolynomial |
subtract(UnivariatePolynomial b)
|
| Methods inherited from interface orbital.math.Euclidean |
|---|
modulo, quotient |
| Methods inherited from interface orbital.math.Polynomial |
|---|
add, degrees, degreeValue, get, indexSet, indices, multiply, rank, subtract |
| Methods inherited from interface orbital.math.functional.Function |
|---|
derive, integrate |
| Methods inherited from interface orbital.logic.functor.Functor |
|---|
equals, hashCode, toString |
| Methods inherited from interface orbital.math.Arithmetic |
|---|
add, divide, equals, inverse, isOne, isZero, minus, multiply, one, power, scale, subtract, toString, zero |
| Methods inherited from interface orbital.math.Normed |
|---|
norm |
| Method Detail |
|---|
Integer degree()
This is the Euclidean degree function δ
and also the graduation function for polynomials.
0 is an element of undefined or all or none degrees.
So for 0 we should return null
(or Integer.MIN_VALUE, but this is not recommended).
degree in interface Euclideandegree in interface PolynomialArithmetic get(int i)
Polynomial.get(Arithmetic).
0 if i>deg(this).java.util.ListIterator iterator()
iterator in interface Polynomialjava.lang.Object apply(java.lang.Object a)
apply in interface Functionapply in interface Polynomiala - the index embedding a:S->(E,), encoded as a Function<S,E>,
that determines to which element a(s) to map the index s in S.a can also be encoded as a Vector<E>
a in En=ENn.
UnivariatePolynomial add(UnivariatePolynomial b)
UnivariatePolynomial subtract(UnivariatePolynomial b)
UnivariatePolynomial multiply(UnivariatePolynomial b)
UnivariatePolynomial quotient(UnivariatePolynomial g)
UnivariatePolynomial modulo(UnivariatePolynomial g)
Arithmetic[] getCoefficients()
Object.clone()
|
Orbital library 1.2.0: 23 Apr 2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||