gov.sandia.cognition.math
Interface ScalarFunction<InputType>

Type Parameters:
InputType - The type of the input to the scalar function.
All Superinterfaces:
Evaluator<InputType,Double>
All Known Subinterfaces:
DifferentiableUnivariateScalarFunction, PolynomialFunction.ClosedForm, Regressor<InputType>, SmoothCumulativeDistributionFunction, UnivariateProbabilityDensityFunction, UnivariateScalarFunction
All Known Implementing Classes:
AbstractDifferentiableUnivariateScalarFunction, AbstractRegressor, AbstractScalarFunction, AbstractUnivariateScalarFunction, AdaptiveRejectionSampling.AbstractEnvelope, AdaptiveRejectionSampling.LineSegment, AdaptiveRejectionSampling.LogEvaluator, AdaptiveRejectionSampling.LowerEnvelope, AdaptiveRejectionSampling.PDFLogEvaluator, AdaptiveRejectionSampling.UpperEnvelope, AdditiveEnsemble, AtanFunction, AveragingEnsemble, 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, KernelScalarFunction, LaplaceDistribution.CDF, LaplaceDistribution.PDF, LinearCombinationScalarFunction, LinearDiscriminant, LinearDiscriminantWithBias, LinearFunction, LinearVectorScalarFunction, LineMinimizerDerivativeBased.InternalFunction, LocallyWeightedKernelScalarFunction, LogisticDistribution.CDF, LogisticDistribution.PDF, LogNormalDistribution.CDF, LogNormalDistribution.PDF, ParetoDistribution.CDF, ParetoDistribution.PDF, PolynomialFunction, PolynomialFunction.Cubic, PolynomialFunction.Linear, PolynomialFunction.Quadratic, RegressionTree, 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, VectorEntryFunction, VectorFunctionLinearDiscriminant, VectorFunctionToScalarFunction, WeibullDistribution.CDF, WeibullDistribution.PDF, WeightedAdditiveEnsemble, WeightedAveragingEnsemble

public interface ScalarFunction<InputType>
extends Evaluator<InputType,Double>

Interface for a function that maps some input onto a double.

Since:
3.3.3
Author:
Justin Basilico

Method Summary
 double evaluateAsDouble(InputType input)
          Evaluates the scalar function as a double.
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 

Method Detail

evaluateAsDouble

double evaluateAsDouble(InputType input)
Evaluates the scalar function as a double.

Parameters:
input - The input value.
Returns:
The scalar output calculated from the given input.