UChart.Apply Method

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0

Overload List

Apply(Vector<Double>) Applies new observations to this Deployed chart and returns a new TChart in the Fitted state.
Apply(Vector<Double>, Vector<Double>) Applies new observations to this Deployed chart with variable unit sizes and returns a new UChart in the Fitted state.

Apply(Vector<Double>, Vector<Double>)

Applies new observations to this Deployed chart with variable unit sizes and returns a new UChart in the Fitted state.
C#
public UChart Apply(
	Vector<double> defectCounts,
	Vector<double> unitSizes
)

Parameters

defectCounts  Vector<Double>
The new defect counts. Must have the same length as unitSizes.
unitSizes  Vector<Double>
The unit size for each new observation. Must contain only positive finite values.

Return Value

UChart
A new UChart in the Fitted state using the frozen pooled defects per unit and the new unit sizes for limit computation.

Exceptions

InvalidOperationException The chart is not in the Deployed state, or this chart uses a constant unit size (use the base Apply(Vector<Double>) overload).
ArgumentNullExceptiondefectCounts or unitSizes is null.

See Also