Table of Contents

DiscreteIntervalPair<T>.Enumerator Struct

Definition

Namespace
Bodu.Numerics
Assembly
Bodu.Numerics.dll
Package
Bodu.Numerics 1.0.0
Source
DiscreteIntervalPair{T}.cs

Enumerates the non-empty pieces of a DiscreteIntervalPair<T> without allocating.

public struct DiscreteIntervalPair<T>.Enumerator
Inherited Members
Extension Methods

Properties

Current

Gets the piece at the current position.

public readonly DiscreteInterval<T> Current { get; }

Property Value

DiscreteInterval<T>

The current interval.

Methods

MoveNext()

Advances to the next piece.

public bool MoveNext()

Returns

bool

true while a piece remains; otherwise false.

Applies to

ProductVersions
.NET8, 10