BlockVector<T>.MissingValueRepresentation Property

Gets how missing values are represented in the vector.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public override MissingValueRepresentation MissingValueRepresentation { get; }

Property Value

MissingValueRepresentation

Remarks

This property is part of the implementation contract for derived vector types.

None means the vector does not provide a missing-value representation. ByValue means missingness is represented by comparing a specific in-band stored value with MissingValue. LogicalMask means missingness is represented by a separate Boolean mask. IndexMask means missingness is represented by a separate index structure or negative-index convention.

The base implementation reports an in-band representation except for Boolean vectors, for which false is an ordinary value rather than a missing sentinel. Setting MayHaveMissingValues to false clears only the advisory content state and preserves missing-value awareness.

A derived type with mask-based or otherwise out-of-band semantics must override IsMissingCore(Int32) and MissingValueRepresentation consistently.

See Also