VPIOptimizer Solve Method Virtual Photonics - VTS Library
Virtual Photonics
Standard interface for all optimization libraries

Namespace: Vts
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

double[] Solve(
	double[] a,
	bool[] ia,
	double[] y,
	double[] ey,
	Func<double[], Object[], double[]> forwardFunc,
	params Object[] forwardVariables
)

Parameters

a
Type:  OnlineSystem Double 
optimization parameter initial guess
ia
Type:  OnlineSystem Boolean 
accompanying array to a that specifies which parameters to fit (held constant otherwise)
y
Type:  OnlineSystem Double 
"measured" values
ey
Type:  OnlineSystem Double 
standard deviation values of y
forwardFunc
Type: OnlineSystem Func  OnlineDouble ,  OnlineObject ,  OnlineDouble  
delegate function that evaluates the objective function given a parameter optimization array and (optional) constant variables
forwardVariables
Type:  OnlineSystem Object 

Return Value

Type:  OnlineDouble 
See Also