Skip to content

Span

Span

is the head of span ranges like 1;;3.

Examples

>> ;; // FullForm
Span(1, All)
>> 1;;4;;2 // FullForm
Span(1, 4, 2)
>> 2;;-2 // FullForm
Span(2, -2)
>> ;;3 // FullForm
Span(1, 3)