Represents a function returning a real number that
has one real argument.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Delegate Function RealFunction ( _ x As Double _ ) As Double |
| C# |
|---|
public delegate double RealFunction ( double x ) |
| C++ |
|---|
public delegate double RealFunction ( double x ) |
Parameters
- x (System.Double)
- A real number.
Return Value
A real number.
Remarks
Use a RealFunction delegate to encapsulate the
evaluation of a real function with one real argument.
Many calculations involve the repeated evaluation of one or more user-supplied functions. Numerical integration and differentiation and finding zeroes of functions are common examples. In the .NET framework, this functionality is implemented using delegates.