Categorical Vector<T>.Missing Value Representation Property
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
public override MissingValueRepresentation MissingValueRepresentation { get; }Property Value
MissingValueRepresentationRemarks
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 returns ByValue because IsMissing(Int32) compares the stored value with MissingValue. Setting MayHaveMissingValues to false disables missing-value handling for a vector instance, but does not change the representation capability reported by this property.
A derived type that overrides IsMissing(Int32) with mask-based or otherwise out-of-band semantics must override MissingValueRepresentation consistently.