|
JScience v4.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.function.Function<R,R>
org.jscience.mathematics.function.Polynomial<R>
org.jscience.mathematics.function.Constant<R>
public final class Constant<R extends Ring<R>>
This class represents a constant function (polynomial of degree 0).
| Method Summary | ||
|---|---|---|
R |
getValue()
Returns the constant value for this function. |
|
static
|
valueOf(R value)
Returns a constant function of specified value. |
|
| Methods inherited from class org.jscience.mathematics.function.Polynomial |
|---|
compose, compose, copy, differentiate, equals, evaluate, getCoefficient, getOrder, getTerms, getVariables, hashCode, integrate, minus, minus, opposite, plus, plus, plus, pow, times, times, times, toText, valueOf, valueOf |
| Methods inherited from class org.jscience.mathematics.function.Function |
|---|
divide, evaluate, evaluate, getVariable, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static <R extends Ring<R>> Constant<R> valueOf(R value)
value - the value returned by this function.
public R getValue()
getCoefficient(Term.CONSTANT)
|
JScience v4.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||