VPIOldOptimizer Solve Method Virtual Photonics - VTS Library
Virtual Photonics
This is a general solver routine using mrqmin

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

double[] Solve(
	double[] a,
	bool[] ia,
	double[] xdata,
	double[] ydata,
	double[] ystdev,
	Func<double, double[], double[]> func
)

Parameters

a
Type:  OnlineSystem Double 
An array of the input parameters (ie. optical properties)
ia
Type:  OnlineSystem Boolean 
An array specifies which input parameters to fit (others will be fixed)
xdata
Type:  OnlineSystem Double 
The independent variable (ie. rho)
ydata
Type:  OnlineSystem Double 
The dependent variable (ie. measured diffuse reflectance)
ystdev
Type:  OnlineSystem Double 
The standard deviation of ydata
func
Type: OnlineSystem Func OnlineDouble,  OnlineDouble ,  OnlineDouble  

Return Value

Type:  OnlineDouble 
See Also