BlockVector<T>.IsMissing Method

Returns whether the value at the specified index is missing.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
C#
public override bool IsMissing(
	int index
)

Parameters

index  Int32
The zero-based index of the value to check.

Return Value

Boolean
true if the value is missing; otherwise false.

Implements

IVector.IsMissing(Int32)

Remarks

The base implementation uses the current MissingValue as an in-band value representation and compares the stored value returned by GetValue(Int32) with MissingValue.

A derived vector may override this method to use another missing-value representation. If the override uses a logical mask, index mask, or another representation that cannot be inferred from GetValue(Int32) and MissingValue, the derived type must also override MissingValueRepresentation consistently. Internal numerical algorithms use MissingValueRepresentation to determine whether explicit per-element missing inspection is required.

See Also