gov.sandia.cognition.learning.function.scalar
Interface PolynomialFunction.ClosedForm

All Superinterfaces:
Cloneable, CloneableSerializable, DifferentiableEvaluator<Double,Double,Double>, DifferentiableUnivariateScalarFunction, Evaluator<Double,Double>, ScalarFunction<Double>, Serializable, UnivariateScalarFunction
All Known Implementing Classes:
AdaptiveRejectionSampling.LineSegment, PolynomialFunction.Cubic, PolynomialFunction.Linear, PolynomialFunction.Quadratic
Enclosing class:
PolynomialFunction

public static interface PolynomialFunction.ClosedForm
extends DifferentiableUnivariateScalarFunction

Describes functionality of a closed-form algebraic polynomial function


Method Summary
 Double[] roots()
          Finds the real-valued roots (zero crossings) of the polynomial
 Double[] stationaryPoints()
          Finds the real-valued stationary points (zero slope) maxima or minima of the polynomial
 
Methods inherited from interface gov.sandia.cognition.math.DifferentiableUnivariateScalarFunction
differentiate
 
Methods inherited from interface gov.sandia.cognition.math.UnivariateScalarFunction
evaluate
 
Methods inherited from interface gov.sandia.cognition.math.ScalarFunction
evaluateAsDouble
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 
Methods inherited from interface gov.sandia.cognition.math.DifferentiableEvaluator
differentiate
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

roots

Double[] roots()
Finds the real-valued roots (zero crossings) of the polynomial

Returns:
Array of roots, will never be null

stationaryPoints

Double[] stationaryPoints()
Finds the real-valued stationary points (zero slope) maxima or minima of the polynomial

Returns:
Array of stationary points, will never be null