public delegate TVectorFunction
Defines vector function of several variables.
Defines vector function of several variables.
Examples
csharp
private void VecFun(TVec x, TVec f, double[] c, object[] o)
{
f[0] = x[0]*Math.Sqrt(x[0]*x[0]+x[1]*x[1]);
f[1] = x[1]*Math.Sqrt(x[0]*x[0]+x[1]*x[1]);
f[2] = x[0]*(x[1]-x[0])*(x[1]-x[0]);
}