Click or drag to resize
IRangeRestrictionTAddress Interface
A sequence of indicies together with the total number. Use `RangeRestriction.ofSeq` to create one from a sequence. This can be implemented by concrete vector/index builders to allow further optimizations (e.g. when the underlying source directly supports range operations). For example, if your source has an optimised way for getting every 10th address, you can create your own `IRangeRestriction` and then check for it in `LookupRange` and use optimised implementation rather than actually iterating over the sequence of indices.

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public interface IRangeRestriction<TAddress> : IEnumerable<TAddress>

Type Parameters

TAddress

The IRangeRestrictionTAddress type exposes the following members.

Properties
  NameDescription
Public propertyCount
Top
Methods
  NameDescription
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableTAddress.)
Top
Extension Methods
  NameDescription
Public Extension MethodToOrdinalSeriesTAddress
Convert the `IEnumerable` to a `Series`, using the seuqence as the values of the resulting series. The keys are generated ordinarilly, starting from 0.
(Defined by EnumerableExtensions.)
Top
See Also