|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnivariatePolynomial
(Univariate) polynomial p∈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 |
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. |
Vector |
getCoefficientVector()
Returns a vector view of 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, monomials, 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.logic.functor.Functor |
---|
equals, hashCode, toString |
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 Euclidean
degree
in interface Polynomial
Arithmetic get(int i)
Polynomial.get(Arithmetic)
.
0
if i>deg(this).java.util.ListIterator iterator()
iterator
in interface Polynomial
java.lang.Object apply(java.lang.Object a)
apply
in interface Function
apply
in interface Polynomial
a
- generic Object as argument
UnivariatePolynomial add(UnivariatePolynomial b)
UnivariatePolynomial subtract(UnivariatePolynomial b)
UnivariatePolynomial multiply(UnivariatePolynomial b)
UnivariatePolynomial quotient(UnivariatePolynomial g)
UnivariatePolynomial modulo(UnivariatePolynomial g)
Arithmetic[] getCoefficients()
Object.clone()
Vector getCoefficientVector()
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |