RRBVector<'T>

Namespace

Ficus
Parent Module: RRBVector
Attributes:
[<AbstractClass>]
[<StructuredFormatDisplay("{StringRepr}")>]

Contructors

ConstructorSignatureDescription
#new()unit -> RRBVector<'T>

CompiledName:.ctor

Instance members

Instance memberSignatureDescription
#x.Append(arg1)RRBVector<'T> -> RRBVector<'T>

Concatenate two vectors to create a new one. Effectively O(1) (really O(log32 N))

#x.Empty()unit -> RRBVector<'T>

Creates an empty vector

#x.GetItem(arg1)int -> 'T
#x.GetSlice(arg1, arg2)(int option * int option) -> RRBVector<'T>
#x.Insert arg1 arg2int -> 'T -> RRBVector<'T>
#x.IsEmpty()unit -> bool

Tests whether vector is empty. O(1)

#[idx]idx:int -> 'T

CompiledName:get_Item

#x.IterItems()unit -> seq<'T>
#x.IterLeaves()unit -> seq<'T []>
#x.Lengthint

Number of items in vector. O(1)

CompiledName:get_Length

#x.Peek()unit -> 'T
#x.Persistent()unit -> RRBVector<'T>
#x.Pop()unit -> RRBVector<'T>
#x.Push(arg1)'T -> RRBVector<'T>
#x.Remove(arg1)int -> RRBVector<'T>
#x.RevIterItems()unit -> seq<'T>
#x.RevIterLeaves()unit -> seq<'T []>
#x.Skip(arg1)int -> RRBVector<'T>
#x.Slice(arg1, arg2)(int * int) -> RRBVector<'T>
#x.Split(arg1)int -> RRBVector<'T> * RRBVector<'T>

Split vector into two at index i. The left vector will be length i and contain items 0 through i-1, while the right vector will be length x.Length - i and contain items i through x.Length-1. Effectively O(1) (really O(log32 N))

#x.StringReprstring

CompiledName:get_StringRepr

#x.Take(arg1)int -> RRBVector<'T>
#x.Transient()unit -> RRBVector<'T>
#x.Update arg1 arg2int -> 'T -> RRBVector<'T>