Returns a new line chart by interpolating over the given fitted function.

Namespace:  CenterSpace.NMath.Charting.Microsoft
Assembly:  NMathChartMicrosoft (in NMathChartMicrosoft.dll) Version: 5.1.0.0

Syntax

C#
public static Chart ToChart<M>(
	BoundedOneVariableFunctionFitter<M> ovf,
	DoubleVector x,
	DoubleVector y,
	DoubleVector solution,
	int numInterpolatedValues
)
where M : new(), IBoundedNonlinearLeastSqMinimizer
Visual Basic (Declaration)
Public Shared Function ToChart(Of M As {New, IBoundedNonlinearLeastSqMinimizer}) ( _
	ovf As BoundedOneVariableFunctionFitter(Of M), _
	x As DoubleVector, _
	y As DoubleVector, _
	solution As DoubleVector, _
	numInterpolatedValues As Integer _
) As Chart
Visual C++
public:
generic<typename M>
where M : gcnew(), IBoundedNonlinearLeastSqMinimizer
static Chart^ ToChart(
	BoundedOneVariableFunctionFitter<M>^ ovf, 
	DoubleVector^ x, 
	DoubleVector^ y, 
	DoubleVector^ solution, 
	int numInterpolatedValues
)

Parameters

ovf
Type: CenterSpace.NMath.Analysis..::.BoundedOneVariableFunctionFitter<(Of <(M>)>)
A BoundedOneVariableFunctionFitter object containing a least squares fit of a parameterized function to the given x,y values.
x
Type: CenterSpace.NMath.Core..::.DoubleVector
The fitted x values.
y
Type: CenterSpace.NMath.Core..::.DoubleVector
The fitted y values.
solution
Type: CenterSpace.NMath.Core..::.DoubleVector
>The parameters of the function at the found minimum.
numInterpolatedValues
Type: System..::.Int32
The number of interpolated values.

Type Parameters

M

[Missing <typeparam name="M"/> documentation for "M:CenterSpace.NMath.Charting.Microsoft.NMathChart.ToChart``1(CenterSpace.NMath.Analysis.BoundedOneVariableFunctionFitter{``0},CenterSpace.NMath.Core.DoubleVector,CenterSpace.NMath.Core.DoubleVector,CenterSpace.NMath.Core.DoubleVector,System.Int32)"]

Return Value

A new chart.

See Also