25.2 Evaluating Multivariate Functions (.NET, C#, CSharp, VB, Visual Basic, F#)
The Evaluate() method on MultiVariableFunction evaluates a function at a given point. For instance, if f is a MultiVariableFunction of four variables:
Code Example – C# multivariate functions
var point = new DoubleVector( 0.0, 1.0, 0.0, -1.0 );
double z = f.Evaluate( point );
Code Example – VB multivariate functions
Dim Point As New DoubleVector(0.0, 1.0, 0.0, -1.0)
Dim Z As Double = F.Evaluate(Point)