gov.sandia.cognition.math
Interface UnivariateScalarFunction

All Superinterfaces:
Cloneable, CloneableSerializable, Evaluator<Double,Double>, ScalarFunction<Double>, Serializable
All Known Subinterfaces:
DifferentiableUnivariateScalarFunction, PolynomialFunction.ClosedForm, SmoothCumulativeDistributionFunction, UnivariateProbabilityDensityFunction
All Known Implementing Classes:
AbstractDifferentiableUnivariateScalarFunction, AbstractUnivariateScalarFunction, AdaptiveRejectionSampling.AbstractEnvelope, AdaptiveRejectionSampling.LineSegment, AdaptiveRejectionSampling.LogEvaluator, AdaptiveRejectionSampling.LowerEnvelope, AdaptiveRejectionSampling.PDFLogEvaluator, AdaptiveRejectionSampling.UpperEnvelope, AtanFunction, BetaDistribution.CDF, BetaDistribution.PDF, CauchyDistribution.CDF, CauchyDistribution.PDF, ChiSquareDistribution.CDF, ChiSquareDistribution.PDF, CosineFunction, DeterministicDistribution.CDF, DirectionalVectorToDifferentiableScalarFunction, DirectionalVectorToScalarFunction, ExponentialDistribution.CDF, ExponentialDistribution.PDF, GammaDistribution.CDF, GammaDistribution.PDF, IdentityScalarFunction, InverseGammaDistribution.CDF, InverseGammaDistribution.PDF, LaplaceDistribution.CDF, LaplaceDistribution.PDF, LinearFunction, LineMinimizerDerivativeBased.InternalFunction, LogisticDistribution.CDF, LogisticDistribution.PDF, LogNormalDistribution.CDF, LogNormalDistribution.PDF, ParetoDistribution.CDF, ParetoDistribution.PDF, PolynomialFunction, PolynomialFunction.Cubic, PolynomialFunction.Linear, PolynomialFunction.Quadratic, ScalarMixtureDensityModel.CDF, ScalarMixtureDensityModel.PDF, SigmoidFunction, SnedecorFDistribution.CDF, SolverFunction, StandardDistributionNormalizer, StudentTDistribution.CDF, StudentTDistribution.PDF, ThresholdFunction, UniformDistribution.CDF, UniformDistribution.PDF, UnivariateGaussian.CDF, UnivariateGaussian.CDF.Inverse, UnivariateGaussian.ErrorFunction, UnivariateGaussian.ErrorFunction.Inverse, UnivariateGaussian.PDF, WeibullDistribution.CDF, WeibullDistribution.PDF

@CodeReview(reviewer="Kevin R. Dixon",
            date="2008-02-26",
            changesNeeded=false,
            comments="Looks good.")
public interface UnivariateScalarFunction
extends Evaluator<Double,Double>, ScalarFunction<Double>, CloneableSerializable

Simple interface that describes a function that maps the reals to the reals, has a Double to Double and double to double

Since:
2.0
Author:
Kevin R. Dixon

Method Summary
 double evaluate(double input)
          Produces a double output for the given double input
 
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.util.CloneableSerializable
clone
 

Method Detail

evaluate

double evaluate(double input)
Produces a double output for the given double input

Parameters:
input - Input to the Evaluator
Returns:
output at the given input