NMath Reference Guide

## One |

The OneVariableFunction type exposes the following members.

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. |

See Also