Logo Deedle

F# Vector extensions (core) Module

Module with extensions for generic vector type. Given vec of type IVector<T>, the extension property vec.DataSequence returns all data of the vector converted to the "least common denominator" data structure - IEnumerable<T>.

Type extensions

Type extension Description

this.DataSequence

Full Usage: this.DataSequence

Parameters:
    () : unit

Returns: OptionalValue<'T> seq

Returns the data of the vector as a lazy sequence. (This preserves the order of elements in the vector and so it also returns missing values.)

Extended Type: IVector

() : unit
Returns: OptionalValue<'T> seq

this.Select

Full Usage: this.Select

Parameters:
    f : 'T -> 'R

Returns: IVector<'R>
Type parameters: 'R

Apply the specified function to all values stored in the vector and return a new vector (not necessarily of the same representation) with the results. The function skips missing values.

Extended Type: IVector

f : 'T -> 'R
Returns: IVector<'R>

Type something to start searching.