NAME

Sidef::Types::Array::Array

DESCRIPTION

This class implements ...

SYNOPSIS

var obj = Array(...)

INHERITS

Inherits methods from:

       * Sidef::Object::Object

METHODS

&

    a & b

Returns the

Aliases: and

*

    a * b

Returns the

Aliases: mul

**

    a ** b

Returns the

Aliases: mpow, matrix_pow

+

    a + b

Returns the

Aliases: add, concat

-

    a - b

Returns the

Aliases: sub, diff

...

    a ... b

Returns the

Aliases: to_list

/

    a / b

Returns the

Aliases: ÷, div

<

    a < b

Returns the

Aliases: lt

<=>

    a <=> b

Returns the

Aliases: cmp

==

    a == b

Returns the

Aliases: eq

>

    a > b

Returns the

Aliases: gt

^

    a ^ b

Returns the

Aliases: xor

|

    a | b

Returns the

Aliases: or

|>>

    a |>> b

Returns the

Aliases: pipeline_map_op

|X>

    Array.|X>()

Returns the

Aliases: pipeline_cross_op

|Z>

    Array.|Z>()

Returns the

Aliases: pipeline_zip_op

«

    a « b

Returns the

Aliases: <<, push, append

»

    a » b

Returns the

Aliases: >>, pop, drop_last, drop_right

    a ∋ b

Returns the

Aliases: has, contain, include, contains, includes

    a ∌ b

Returns the

    a ≠ b

Returns the

Aliases: !=, ne

    a ≤ b

Returns the

Aliases: <=, le

    a ≥ b

Returns the

Aliases: >=, ge

abbrev

    Array.abbrev()

Returns the

Aliases: abbreviations

acc

    Array.acc()

Returns the

Aliases: accumulate

acc_by

    Array.acc_by()

Returns the

Aliases: accumulate_by

all

    Array.all()

Returns the

all_composite

    Array.all_composite()

Returns the

all_prime

    Array.all_prime()

Returns the

any

    Array.any()

Returns the

avg

    Array.avg()

Returns the

avg_by

    Array.avg_by()

Returns the

bindex

    Array.bindex()

Returns the

Aliases: bsearch_index

bindex_by

    Array.bindex_by()

Returns the

Aliases: bsearch_index_by

bindex_ge

    Array.bindex_ge()

Returns the

bindex_ge_by

    Array.bindex_ge_by()

Returns the

bindex_le

    Array.bindex_le()

Returns the

bindex_le_by

    Array.bindex_le_by()

Returns the

binsert

    Array.binsert()

Returns the

bsearch

    Array.bsearch()

Returns the

Aliases: bsearch_by

bsearch_ge

    Array.bsearch_ge()

Returns the

Aliases: bsearch_ge_by

bsearch_le

    Array.bsearch_le()

Returns the

Aliases: bsearch_le_by

bshuffle

    Array.bshuffle()

Returns the

Aliases: best_shuffle

cartesian

    Array.cartesian()

Returns the

cfrac2num

    Array.cfrac2num()

Returns the

change_to

    Array.change_to()

Returns the

chrs

    Array.chrs()

Returns the

Aliases: decode, join_bytes

circular_permutations

    Array.circular_permutations()

Returns the

clear

    Array.clear()

Returns the

collapse

    Array.collapse()

Returns the

combinations

    Array.combinations()

Returns the

combinations_with_repetition

    Array.combinations_with_repetition()

Returns the

combine

    Array.combine()

Returns the

compact

    Array.compact()

Returns the

cons

    Array.cons()

Returns the

Aliases: map_cons

contains_all

    Array.contains_all()

Returns the

contains_any

    Array.contains_any()

Returns the

contains_type

    Array.contains_type()

Returns the

count

    Array.count()

Returns the

count_by

    Array.count_by()

Returns the

cross_op

    Array.cross_op()

Returns the

Aliases: cross_operator

defined

    Array.defined()

Returns the

delete

    Array.delete()

Returns the

Aliases: remove

delete_by

    Array.delete_by()

Returns the

Aliases: delete_if, remove_by, remove_if

delete_first

    Array.delete_first()

Returns the

Aliases: remove_first

delete_first_by

    Array.delete_first_by()

Returns the

Aliases: delete_first_if, remove_first_by, remove_first_if

delete_last

    Array.delete_last()

Returns the

Aliases: remove_last

delete_last_by

    Array.delete_last_by()

Returns the

Aliases: delete_last_if, remove_last_by, remove_last_if

derangements

    Array.derangements()

Returns the

Aliases: complete_permutations

det

    Array.det()

Returns the

Aliases: determinant

det_bareiss

    Array.det_bareiss()

Returns the

diffs

    Array.diffs()

Returns the

Aliases: differences, nth_differences

dig

    Array.dig()

Returns the

digits2num

    Array.digits2num()

Returns the

Aliases: from_digits

each_2d

    Array.each_2d()

Returns the

each_cons

    Array.each_cons()

Returns the

each_k

    Array.each_k()

Returns the

Aliases: each_key, each_index

each_kv

    Array.each_kv()

Returns the

each_slice

    Array.each_slice()

Returns the

end

    Array.end()

Returns the

Aliases: offset

exists

    Array.exists()

Returns the

Aliases: has_index

expand

    Array.expand()

Returns the

Aliases: expand_by

extract_by

    Array.extract_by()

Returns the

extract_first_by

    Array.extract_first_by()

Returns the

extract_last_by

    Array.extract_last_by()

Returns the

fetch

    Array.fetch()

Returns the

find

    Array.find()

Returns the

Aliases: first_by

flat

    Array.flat()

Returns the

Aliases: flatten

flat_map

    Array.flat_map()

Returns the

flip

    Array.flip()

Returns the

Aliases: reverse

for

    Array.for()

Returns the

Aliases: each, foreach

freq

    Array.freq()

Returns the

freq_by

    Array.freq_by()

Returns the

ft

    Array.ft()

Returns the

Aliases: slice

gauss_jordan_invert

    Array.gauss_jordan_invert()

Returns the

gauss_jordan_solve

    Array.gauss_jordan_solve()

Returns the

gcd

    Array.gcd()

Returns the

gcd_by

    Array.gcd_by()

Returns the

getopt

    Array.getopt()

Returns the

grep

    Array.grep()

Returns the

Aliases: select

grep_2d

    Array.grep_2d()

Returns the

grep_kv

    Array.grep_kv()

Returns the

Aliases: select_kv

group

    Array.group()

Returns the

Aliases: group_by

    Array.head()

Returns the

Aliases: first

index

    Array.index()

Returns the

Aliases: index_by, first_index, first_index_by

inject

    Array.inject()

Returns the

Aliases: reduce

insert

    Array.insert()

Returns the

inv

    Array.inv()

Returns the

Aliases: invert, inverse

is_empty

    Array.is_empty()

Returns the

item

    Array.item()

Returns the

items

    Array.items()

Returns the

iter

    Array.iter()

Returns the

jaro_distance

    Array.jaro_distance()

Returns the

join

    Array.join()

Returns the

join_insert

    Array.join_insert()

Returns the

keys

    Array.keys()

Returns the

Aliases: indices

keys_by

    Array.keys_by()

Returns the

Aliases: indices_by

keys_of

    Array.keys_of()

Returns the

Aliases: indices_of

kv

    Array.kv()

Returns the

Aliases: pairs, zip_indices

last

    Array.last()

Returns the

Aliases: tail

last_by

    Array.last_by()

Returns the

last_uniq

    Array.last_uniq()

Returns the

Aliases: last_unique

last_uniq_by

    Array.last_uniq_by()

Returns the

Aliases: last_unique_by

lcm

    Array.lcm()

Returns the

lcm_by

    Array.lcm_by()

Returns the

len

    Array.len()

Returns the

Aliases: size, length

lev

    Array.lev()

Returns the

Aliases: leven, levenshtein

madd

    Array.madd()

Returns the

Aliases: matrix_add

make

    Array.make()

Returns the

make_by

    Array.make_by()

Returns the

map

    Array.map()

Returns the

Aliases: collect

map_2d

    Array.map_2d()

Returns the

map_kv

    Array.map_kv()

Returns the

Aliases: collect_kv

map_op

    Array.map_op()

Returns the

Aliases: map_operator

map_reduce

    Array.map_reduce()

Returns the

Aliases: reduce_map

match

    Array.match()

Returns the

max

    Array.max()

Returns the

max_by

    Array.max_by()

Returns the

mdiv

    Array.mdiv()

Returns the

Aliases: matrix_div

min

    Array.min()

Returns the

min_by

    Array.min_by()

Returns the

minmax

    Array.minmax()

Returns the

mmul

    Array.mmul()

Returns the

Aliases: matrix_mul

msolve

    Array.msolve()

Returns the

Aliases: matrix_solve

msub

    Array.msub()

Returns the

Aliases: matrix_sub

new

    Array.new()

Returns the

Aliases: call

next_permutation

    Array.next_permutation()

Returns the

none

    Array.none()

Returns the

nth_perm

    Array.nth_perm()

Returns the

Aliases: nth_permutation

pack

    Array.pack()

Returns the

pair_map

    Array.pair_map()

Returns the

Aliases: pairmap

pam_op

    Array.pam_op()

Returns the

Aliases: pam_operator

part

    Array.part()

Returns the

Aliases: partition

partitions

    Array.partitions()

Returns the

perm2num

    Array.perm2num()

Returns the

permutations

    Array.permutations()

Returns the

pick

    Array.pick()

Returns the

pop_at

    Array.pop_at()

Returns the

Aliases: delete_at, delete_index

pop_rand

    Array.pop_rand()

Returns the

pop_while

    Array.pop_while()

Returns the

prepend

    Array.prepend()

Returns the

Aliases: unshift

prod

    Array.prod()

Returns the

prod_2d

    Array.prod_2d()

Returns the

prod_by

    Array.prod_by()

Returns the

prod_kv

    Array.prod_kv()

Returns the

rand

    Array.rand()

Returns the

Aliases: sample

range

    Array.range()

Returns the

recmap

    Array.recmap()

Returns the

reduce_op

    Array.reduce_op()

Returns the

Aliases: reduce_operator

resize

    Array.resize()

Returns the

Aliases: resize_to

rindex

    Array.rindex()

Returns the

Aliases: rindex_by, last_index, last_index_by

rotate

    Array.rotate()

Returns the

rref

    Array.rref()

Returns the

Aliases: reduced_row_echelon_form

rscalar_op

    Array.rscalar_op()

Returns the

Aliases: rscalar_operator

run_length

    Array.run_length()

Returns the

Aliases: run_length_by

sadd

    Array.sadd()

Returns the

Aliases: scalar_add

scalar_op

    Array.scalar_op()

Returns the

Aliases: scalar_operator

sdiv

    Array.sdiv()

Returns the

Aliases: scalar_div

segment

    Array.segment()

Returns the

segment_by

    Array.segment_by()

Returns the

shift

    Array.shift()

Returns the

Aliases: drop_left, drop_first

shift_while

    Array.shift_while()

Returns the

shuffle

    Array.shuffle()

Returns the

slice_after

    Array.slice_after()

Returns the

slice_before

    Array.slice_before()

Returns the

slices

    Array.slices()

Returns the

Aliases: map_slice

smul

    Array.smul()

Returns the

Aliases: scalar_mul

sort

    Array.sort()

Returns the

sort_by

    Array.sort_by()

Returns the

splice

    Array.splice()

Returns the

split

    Array.split()

Returns the

split_by

    Array.split_by()

Returns the

ssub

    Array.ssub()

Returns the

Aliases: scalar_sub

stack

    Array.stack()

Returns the

Aliases: stack_by

subsets

    Array.subsets()

Returns the

sum

    Array.sum()

Returns the

sum_2d

    Array.sum_2d()

Returns the

sum_by

    Array.sum_by()

Returns the

sum_kv

    Array.sum_kv()

Returns the

swap

    Array.swap()

Returns the

take_left

    Array.take_left()

Returns the

take_right

    Array.take_right()

Returns the

to_a

    Array.to_a()

Returns the

Aliases: to_array

to_bag

    Array.to_bag()

Returns the

to_h

    Array.to_h()

Returns the

Aliases: to_hash

to_m

    Array.to_m()

Returns the

Aliases: to_matrix

to_s

    Array.to_s()

Returns the

Aliases: dump, to_str

to_set

    Array.to_set()

Returns the

to_v

    Array.to_v()

Returns the

Aliases: to_vector

tuples

    Array.tuples()

Returns the

Aliases: variations

tuples_with_repetition

    Array.tuples_with_repetition()

Returns the

Aliases: variations_with_repetition

uniq

    Array.uniq()

Returns the

Aliases: unique, distinct

uniq_by

    Array.uniq_by()

Returns the

Aliases: unique_by

uniq_permutations

    Array.uniq_permutations()

Returns the

Aliases: unique_permutations

uniq_prefs

    Array.uniq_prefs()

Returns the

Aliases: unique_prefixes

unroll_op

    Array.unroll_op()

Returns the

Aliases: unroll_operator

unzip_by

    Array.unzip_by()

Returns the

weighted_shuffle_by

    Array.weighted_shuffle_by()

Returns the

wise_op

    Array.wise_op()

Returns the

Aliases: wise_operator

zip

    Array.zip()

Returns the

Aliases: transpose

zip_by

    Array.zip_by()

Returns the

zip_op

    Array.zip_op()

Returns the

Aliases: zip_operator