UChart Constructor

Definition

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

Overload List

UChart(Vector<Double>, Vector<Double>, IIndex) Initializes a new UChart in the Unfitted state from vectors of defect counts and variable unit sizes.
UChart(Vector<Double>, Double, IIndex) Initializes a new UChart in the Unfitted state from a vector of defect counts and a single constant unit size. When the unit size is constant the control limits are identical across all observations.

UChart(Vector<Double>, Vector<Double>, IIndex)

Initializes a new UChart in the Unfitted state from vectors of defect counts and variable unit sizes.
C#
public UChart(
	Vector<double> defectCounts,
	Vector<double> unitSizes,
	IIndex? index = null
)

Parameters

defectCounts  Vector<Double>
The ordered baseline defect counts. Must have the same length as unitSizes.
unitSizes  Vector<Double>
The unit size (exposure) for each observation. Must contain only positive finite values.
index  IIndex  (Optional)
An optional index providing labels or time positions for each observation. When null a default positional index is used.

Exceptions

ArgumentNullExceptiondefectCounts or unitSizes is null.
ArgumentExceptiondefectCounts is empty.

UChart(Vector<Double>, Double, IIndex)

Initializes a new UChart in the Unfitted state from a vector of defect counts and a single constant unit size. When the unit size is constant the control limits are identical across all observations.
C#
public UChart(
	Vector<double> defectCounts,
	double unitSize,
	IIndex? index = null
)

Parameters

defectCounts  Vector<Double>
The ordered baseline defect counts. All values must be non-negative.
unitSize  Double
The constant unit size applied to all observations. Must be a positive finite number.
index  IIndex  (Optional)
An optional index providing labels or time positions for each observation. When null a default positional index is used.

Exceptions

ArgumentNullExceptiondefectCounts is null.
ArgumentExceptiondefectCounts is empty.
ArgumentOutOfRangeExceptionunitSize is not a positive finite number.

See Also