gov.sandia.cognition.math.DifferentiableUnivariateScalarFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitive-foundry Show documentation
Show all versions of cognitive-foundry Show documentation
A single jar with all the Cognitive Foundry components.
/*
* File: DifferentiableUnivariateScalarFunction.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Dec 2, 2007, Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000, there is a non-exclusive license for use of this work by
* or on behalf of the U.S. Government. Export of this program may require a
* license from the United States Government. See CopyrightHistory.txt for
* complete details.
*
*/
package gov.sandia.cognition.math;
import gov.sandia.cognition.annotation.CodeReview;
/**
* A differentiable univariate scalar function
* @author Kevin R. Dixon
* @since 2.0
*/
@CodeReview(
reviewer="Kevin R. Dixon",
date="2008-02-12",
changesNeeded=false,
comments={
"Added differentiate(double) method.",
"Created AbstractDifferentiableUnivariateScalarFunction as a partial implementation.",
"Otherwise, interface is fine."
}
)
public interface DifferentiableUnivariateScalarFunction
extends UnivariateScalarFunction,
DifferentiableEvaluator
{
/**
* Differentiates the output of the function about the given input
* @param input
* Input about which to compute the derivative of the function output
* @return
* Derivative of the output with respect to the input
*/
double differentiate(
double input );
}