|  | OneVariableFunction Class | 
            Class OneVariableFunction represents functions of one variable.
            
 Inheritance Hierarchy
Inheritance Hierarchy NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic class OneVariableFunction : ICloneable
Public Class OneVariableFunction
	Implements ICloneable
public ref class OneVariableFunction : ICloneable
type OneVariableFunction = 
    class
        interface ICloneable
    endThe OneVariableFunction type exposes the following members.
 Constructors
Constructors Properties
Properties|  | Name | Description | 
|---|
|   | DefaultDifferentiator | Gets and sets the default differentiator associated with functions of one
            variable. | 
|   | DefaultIntegrator | Gets and sets the default integrator associated with functions of one
            variable. | 
|  | Differentiator | Gets and sets the differentiation method object associated with this function. | 
|  | Func | Gets the function encapsulated by this object. | 
|  | Integrator | Gets and sets the integration method object associated with this function. | 
Top Methods
Methods|  | Name | Description | 
|---|
|   | Add(Double, OneVariableFunction) | Adds the function and scalar. | 
|   | Add(OneVariableFunction, OneVariableFunction) | Adds the two functions. | 
|   | Add(OneVariableFunction, Double) | Adds the function and scalar. | 
|  | Clone | Creates a deep copy of this function. | 
|  | Derivative | Returns the first derivative of this function. | 
|  | Differentiate | Computes the numerical derivative of the current function at the given
            x-value. | 
|   | Divide(Double, OneVariableFunction) | Divides a scalar by a function. | 
|   | Divide(OneVariableFunction, OneVariableFunction) | Divides one function by another. | 
|   | Divide(OneVariableFunction, Double) | Divides a function by a scalar. | 
|  | Evaluate(Double) | Evaluates the current function at the given x-value. | 
|  | Evaluate(DoubleVector) | Evaluates the current function at the given set of x-values. | 
|  | Evaluate(OneVariableFunction) | Creates a composite function. | 
|  | Integrate | Computes the integral of the current function over the specified
            interval. | 
|   | Multiply(Double, OneVariableFunction) | Multiplies a function and a scalar. | 
|   | Multiply(OneVariableFunction, OneVariableFunction) | Multiplies the two functions. | 
|   | Multiply(OneVariableFunction, Double) | Multiplies a function and a scalar. | 
|   | Negate | Negates the specified function. | 
|   | Subtract(Double, OneVariableFunction) | Subtracts a function from a scalar. | 
|   | Subtract(OneVariableFunction, OneVariableFunction) | Subtracts one function from another. | 
|   | Subtract(OneVariableFunction, Double) | Subtracts a scalar from a function. | 
Top Operators
Operators|  | Name | Description | 
|---|
|   | Addition(Double, OneVariableFunction) | Adds the function and scalar. | 
|   | Addition(OneVariableFunction, OneVariableFunction) | Sums the two functions. | 
|   | Addition(OneVariableFunction, Double) | Adds the function and scalar. | 
|   | Division(Double, OneVariableFunction) | Divides a scalar by a function. | 
|   | Division(OneVariableFunction, OneVariableFunction) | Divides one function by another. | 
|   | Division(OneVariableFunction, Double) | Divides a function by a scalar. | 
|   | (FuncDouble, Double to OneVariableFunction) | Implicit conversion from a Func<double, double> to a OneVariableFunction. | 
|   | Multiply(Double, OneVariableFunction) | Multiplies a function and a scalar. | 
|   | Multiply(OneVariableFunction, OneVariableFunction) | Multiplies the two functions. | 
|   | Multiply(OneVariableFunction, Double) | Multiplies a function and a scalar. | 
|   | Subtraction(Double, OneVariableFunction) | Subtracts a function from a scalar. | 
|   | Subtraction(OneVariableFunction, OneVariableFunction) | Subtracts one function from another. | 
|   | Subtraction(OneVariableFunction, Double) | Subtracts a scalar from a function. | 
|   | UnaryNegation(OneVariableFunction) | Negates the specified function. | 
Top Fields
Fields Remarks
Remarks
            This class is no longer serializable.  Instead, simply serialize the function
            pointed to by this class.
            
 See Also
See Also