JADE v6.1

com.dautelle.math.functions
Class Constant

java.lang.Object
  extended bycom.dautelle.realtime.RealtimeObject
      extended bycom.dautelle.math.functions.Function
          extended bycom.dautelle.math.functions.Polynomial
              extended bycom.dautelle.math.functions.Constant
All Implemented Interfaces:
Operable, Realtime, java.io.Serializable

public final class Constant
extends Polynomial

This class represents a constant function (polynomial of degree 0).

Version:
6.0, March 17, 2004
Author:
Jean-Marie Dautelle
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.dautelle.math.functions.Polynomial
Polynomial.Term
 
Nested classes inherited from class com.dautelle.math.functions.Function
Function.Variable
 
Nested classes inherited from class com.dautelle.realtime.RealtimeObject
RealtimeObject.Factory
 
Method Summary
 Operable getValue()
          Returns the constant value for this function.
static Constant valueOf(Operable value)
          Returns a constant function of specified value.
 
Methods inherited from class com.dautelle.math.functions.Polynomial
appendTo, compose, differentiate, equals, evaluate, export, getCoefficient, getOrder, getTerms, getVariables, hashCode, integrate, opposite, plus, times, toHeap, valueOf, valueOf
 
Methods inherited from class com.dautelle.math.functions.Function
pow, reciprocal, toString
 
Methods inherited from class com.dautelle.realtime.RealtimeObject
clone, isLocalObject, isPoolObject, recycle
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

valueOf

public static Constant valueOf(Operable value)
Returns a constant function of specified value.

Parameters:
value - the value returned by this function.
Returns:
the corresponding constant function.

getValue

public Operable getValue()
Returns the constant value for this function.

Returns:
getCoefficient(Term.CONSTANT)

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.