Ficus 0.0.2

Edit this page

RRBVector<'T> Type

Constructors

Constructor Description

RRBVector()

Full Usage: RRBVector()

Returns: RRBVector<'T>
Returns: RRBVector<'T>

Instance members

Instance member Description

this.Append

Full Usage: this.Append

Parameters:
Returns: RRBVector<'T>
Modifiers: abstract

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

arg0 : RRBVector<'T>
Returns: RRBVector<'T>

this.Empty

Full Usage: this.Empty

Returns: RRBVector<'T>
Modifiers: abstract

Creates an empty vector

Returns: RRBVector<'T>

this.GetItem

Full Usage: this.GetItem

Parameters:
    arg0 : int

Returns: 'T
Modifiers: abstract
arg0 : int
Returns: 'T

this.GetSlice

Full Usage: this.GetSlice

Parameters:
    arg0 : int option
    arg1 : int option

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int option
arg1 : int option
Returns: RRBVector<'T>

this.Insert

Full Usage: this.Insert

Parameters:
    arg0 : int
    arg1 : 'T

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int
arg1 : 'T
Returns: RRBVector<'T>

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: abstract

Tests whether vector is empty. O(1)

Returns: bool

this[idx]

Full Usage: this[idx]

Parameters:
    idx : int

Returns: 'T
idx : int
Returns: 'T

this.IterItems

Full Usage: this.IterItems

Returns: seq<'T>
Modifiers: abstract
Returns: seq<'T>

this.IterLeaves

Full Usage: this.IterLeaves

Returns: seq<'T[]>
Modifiers: abstract
Returns: seq<'T[]>

this.Length

Full Usage: this.Length

Returns: int
Modifiers: abstract

Number of items in vector. O(1)

Returns: int

this.Peek

Full Usage: this.Peek

Returns: 'T
Modifiers: abstract
Returns: 'T

this.Persistent

Full Usage: this.Persistent

Returns: RRBVector<'T>
Modifiers: abstract
Returns: RRBVector<'T>

this.Pop

Full Usage: this.Pop

Returns: RRBVector<'T>
Modifiers: abstract
Returns: RRBVector<'T>

this.Push

Full Usage: this.Push

Parameters:
    arg0 : 'T

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : 'T
Returns: RRBVector<'T>

this.Remove

Full Usage: this.Remove

Parameters:
    arg0 : int

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int
Returns: RRBVector<'T>

this.RevIterItems

Full Usage: this.RevIterItems

Returns: seq<'T>
Modifiers: abstract
Returns: seq<'T>

this.RevIterLeaves

Full Usage: this.RevIterLeaves

Returns: seq<'T[]>
Modifiers: abstract
Returns: seq<'T[]>

this.Skip

Full Usage: this.Skip

Parameters:
    arg0 : int

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int
Returns: RRBVector<'T>

this.Slice

Full Usage: this.Slice

Parameters:
    arg0 : int
    arg1 : int

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int
arg1 : int
Returns: RRBVector<'T>

this.Split

Full Usage: this.Split

Parameters:
    arg0 : int

Returns: RRBVector<'T> * RRBVector<'T>
Modifiers: abstract

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))

arg0 : int
Returns: RRBVector<'T> * RRBVector<'T>

this.StringRepr

Full Usage: this.StringRepr

Returns: string
Modifiers: abstract
Returns: string

this.Take

Full Usage: this.Take

Parameters:
    arg0 : int

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int
Returns: RRBVector<'T>

this.Transient

Full Usage: this.Transient

Returns: RRBVector<'T>
Modifiers: abstract
Returns: RRBVector<'T>

this.Update

Full Usage: this.Update

Parameters:
    arg0 : int
    arg1 : 'T

Returns: RRBVector<'T>
Modifiers: abstract
arg0 : int
arg1 : 'T
Returns: RRBVector<'T>