Vector<T>.RemoveMissingValuesCore Method

Creates an independent representation for the logical elements retained by RemoveMissingValues().

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
protected virtual Vector<T> RemoveMissingValuesCore(
	int nonmissingCount
)

Parameters

nonmissingCount  Int32
The authoritative number of elements retained by the public missing-awareness decision.

Return Value

Vector<T>
An independent vector containing the retained elements in logical order.

Remarks

The base implementation preserves by-value semantics in a dense result. Out-of-band representations use a categorical result so an ordinary retained value cannot be reinterpreted as missing.

See Also