Click or drag to resize

OneVariableFunction Class

Class OneVariableFunction represents functions of one variable.
Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public class OneVariableFunction : ICloneable

The OneVariableFunction type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyStatic memberDefaultDifferentiator
Gets and sets the default differentiator associated with functions of one variable.
Public propertyStatic memberDefaultIntegrator
Gets and sets the default integrator associated with functions of one variable.
Public propertyDifferentiator
Gets and sets the differentiation method object associated with this function.
Public propertyFunc
Gets the function encapsulated by this object.
Public propertyIntegrator
Gets and sets the integration method object associated with this function.
Top
Methods
  NameDescription
Public methodStatic memberAdd(Double, OneVariableFunction)
Adds the function and scalar.
Public methodStatic memberAdd(OneVariableFunction, OneVariableFunction)
Adds the two functions.
Public methodStatic memberAdd(OneVariableFunction, Double)
Adds the function and scalar.
Public methodClone
Creates a deep copy of this function.
Public methodDerivative
Returns the first derivative of this function.
Public methodDifferentiate
Computes the numerical derivative of the current function at the given x-value.
Public methodStatic memberDivide(Double, OneVariableFunction)
Divides a scalar by a function.
Public methodStatic memberDivide(OneVariableFunction, OneVariableFunction)
Divides one function by another.
Public methodStatic memberDivide(OneVariableFunction, Double)
Divides a function by a scalar.
Public methodEvaluate(Double)
Evaluates the current function at the given x-value.
Public methodEvaluate(DoubleVector)
Evaluates the current function at the given set of x-values.
Public methodEvaluate(OneVariableFunction)
Creates a composite function.
Public methodIntegrate
Computes the integral of the current function over the specified interval.
Public methodStatic memberMultiply(Double, OneVariableFunction)
Multiplies a function and a scalar.
Public methodStatic memberMultiply(OneVariableFunction, OneVariableFunction)
Multiplies the two functions.
Public methodStatic memberMultiply(OneVariableFunction, Double)
Multiplies a function and a scalar.
Public methodStatic memberNegate
Negates the specified function.
Public methodStatic memberSubtract(Double, OneVariableFunction)
Subtracts a function from a scalar.
Public methodStatic memberSubtract(OneVariableFunction, OneVariableFunction)
Subtracts one function from another.
Public methodStatic memberSubtract(OneVariableFunction, Double)
Subtracts a scalar from a function.
Top
Operators
Fields
  NameDescription
Protected fielddifferentiator_
Differentiator
Protected fieldStatic memberDifferentiatorName
Protected fieldfunction_
Captured function
Protected fieldintegrator_
Integrator
Protected fieldStatic memberIntegratorName
Top
Remarks
This class is no longer serializable. Instead, simply serialize the function pointed to by this class.
See Also