Liking cljdoc? Tell your friends :D

tupelo.array


Arrayclj/s

A 2-D array of values (a vector of vectors).

A 2-D array of values (a vector of vectors).
sourceraw docstring

array->strclj/s

(array->str arr)

Inputs: [arr :- Array] Returns: s/Str

Inputs: [arr :- Array]
Returns: s/Str
sourceraw docstring

array-cols->vecclj/s

(array-cols->vec arr)

Inputs: [arr :- Array] Returns: Vector

Returns the concatenation of all array cols.

Inputs: [arr :- Array]
Returns: Vector

Returns the concatenation of all array cols.
sourceraw docstring

array-rows->vecclj/s

(array-rows->vec arr)

Inputs: [arr :- Array] Returns: Vector

Returns the concatenation of all array rows.

Inputs: [arr :- Array]
Returns: Vector

Returns the concatenation of all array rows.
sourceraw docstring

col-addclj/s≠

clj
(col-add orig & cols)
cljs
(col-add G__46498 & rest46499)

Inputs: [orig :- Array & cols :- [Vector]] Returns: Array

Inputs: [orig :- Array & cols :- [Vector]]
Returns: Array
sourceraw docstring

col-dropclj/s≠

clj
(col-drop orig & idxs-drop)
cljs
(col-drop G__46470 & rest46471)

Inputs: [orig :- Array & idxs-drop :- [s/Int]] Returns: Array

Drop one or more colss from an array

Inputs: [orig :- Array & idxs-drop :- [s/Int]]
Returns: Array

Drop one or more colss from an array
sourceraw docstring

col-getclj/s

(col-get arr jj)

Inputs: [arr :- Array jj :- s/Int] Returns: Vector

Gets an Array col

Inputs: [arr :- Array jj :- s/Int]
Returns: Vector

Gets an Array col
sourceraw docstring

col-setclj/s

(col-set orig jj new-col)

Inputs: [orig :- Array jj :- s/Int new-col :- Vector] Returns: Array

Sets an Array col

Inputs: [orig :- Array jj :- s/Int new-col :- Vector]
Returns: Array

Sets an Array col
sourceraw docstring

cols->arrayclj/s

(cols->array col-vecs)

Inputs: [col-vecs :- Array] Returns: Array

[col-vecs] Return a new Array initialized from col-vecs. Cols must all have same length.

Inputs: [col-vecs :- Array]
Returns: Array

[col-vecs]
Return a new Array initialized from col-vecs. Cols must all have same length.
sourceraw docstring

cols-getclj/s≠

clj
(cols-get arr)
(cols-get arr col-idxs)
(cols-get arr low high)
cljs
(cols-get G__46370)
(cols-get G__46374 G__46375)
(cols-get G__46379 G__46380 G__46381)

Inputs: ([arr] [arr col-idxs] [arr :- Array low :- s/Int high :- s/Int]) Returns: Array

[arr] Returns all array cols [arr col-idxs] Returns array cols specified by col-idxs [arr low high] Returns array cols in half-open interval [low..high)

Inputs: ([arr] [arr col-idxs] [arr :- Array low :- s/Int high :- s/Int])
Returns: Array

[arr]          Returns all array cols
 [arr col-idxs] Returns array cols specified by col-idxs
 [arr low high] Returns array cols in half-open interval [low..high) 
sourceraw docstring

createclj/s≠

clj
(create nrows ncols)
(create nrows ncols init-val)
cljs
(create G__46184 G__46185)
(create G__46189 G__46190 G__46191)

Inputs: ([nrows :- s/Int ncols :- s/Int] [nrows :- s/Int ncols :- s/Int init-val :- s/Any]) Returns: Array

([nrows ncols] [nrows ncols init-val]) Return a new Array of size=[nrows ncols] initialized to zero (or init-val if supplied)

Inputs: ([nrows :- s/Int ncols :- s/Int] [nrows :- s/Int ncols :- s/Int init-val :- s/Any])
Returns: Array

([nrows ncols] [nrows ncols init-val])
Return a new Array of size=[nrows ncols] initialized to zero (or init-val if supplied)
sourceraw docstring

elem-getclj/s

(elem-get arr ii jj)

Inputs: [arr :- Array ii :- s/Int jj :- s/Int] Returns: s/Any

Gets an Array element

Inputs: [arr :- Array ii :- s/Int jj :- s/Int]
Returns: s/Any

Gets an Array element
sourceraw docstring

elem-setclj/s

(elem-set arr ii jj newVal)

Inputs: [arr :- Array ii :- s/Int jj :- s/Int newVal :- s/Any] Returns: Array

Puts a value into an Array element, returning the updated Array.

Inputs: [arr :- Array ii :- s/Int jj :- s/Int newVal :- s/Any]
Returns: Array

Puts a value into an Array element, returning the updated Array.
sourceraw docstring

flip-lrclj/s

(flip-lr orig)

Inputs: [orig :- Array] Returns: Array

Inputs: [orig :- Array]
Returns: Array
sourceraw docstring

flip-udclj/s

(flip-ud orig)

Inputs: [orig :- Array] Returns: Array

Inputs: [orig :- Array]
Returns: Array
sourceraw docstring

glue-horizclj/s≠

clj
(glue-horiz & arrays)
cljs
(glue-horiz & rest46525)

Inputs: [& arrays :- [Array]] Returns: Array

Inputs: [& arrays :- [Array]]
Returns: Array
sourceraw docstring

glue-vertclj/s≠

clj
(glue-vert & arrays)
cljs
(glue-vert & rest46518)

Inputs: [& arrays :- [Array]] Returns: Array

Inputs: [& arrays :- [Array]]
Returns: Array
sourceraw docstring

num-colsclj/s

(num-cols arr)

Inputs: [arr :- Array] Returns: s/Int

Returns the number of cols of an Array.

Inputs: [arr :- Array]
Returns: s/Int

Returns the number of cols of an Array.
sourceraw docstring

num-rowsclj/s

(num-rows arr)

Inputs: [arr :- Array] Returns: s/Int

Returns the number of rows of an Array.

Inputs: [arr :- Array]
Returns: s/Int

Returns the number of rows of an Array.
sourceraw docstring

rot-leftclj/s

(rot-left orig)

Inputs: [orig :- Array] Returns: Array

Inputs: [orig :- Array]
Returns: Array
sourceraw docstring

rot-rightclj/s

(rot-right orig)

Inputs: [orig :- Array] Returns: Array

Inputs: [orig :- Array]
Returns: Array
sourceraw docstring

row-addclj/s≠

clj
(row-add orig & rows)
cljs
(row-add G__46490 & rest46491)

Inputs: [orig :- Array & rows :- [Vector]] Returns: Array

Inputs: [orig :- Array & rows :- [Vector]]
Returns: Array
sourceraw docstring

row-dropclj/s≠

clj
(row-drop orig & idxs-drop)
cljs
(row-drop G__46458 & rest46459)

Inputs: [orig :- Array & idxs-drop :- [s/Int]] Returns: Array

Drop one or more rows from an array

Inputs: [orig :- Array & idxs-drop :- [s/Int]]
Returns: Array

Drop one or more rows from an array
sourceraw docstring

row-getclj/s

(row-get arr ii)

Inputs: [arr :- Array ii :- s/Int] Returns: Vector

Gets an Array row

Inputs: [arr :- Array ii :- s/Int]
Returns: Vector

Gets an Array row
sourceraw docstring

row-setclj/s

(row-set orig ii new-row)

Inputs: [orig :- Array ii :- s/Int new-row :- Vector] Returns: Array

Sets an Array row

Inputs: [orig :- Array ii :- s/Int new-row :- Vector]
Returns: Array

Sets an Array row
sourceraw docstring

rows->arrayclj/s

(rows->array row-vecs)

Inputs: [row-vecs :- Array] Returns: Array

[row-vecs] Return a new Array initialized from row-vecs. Rows must all have same length.

Inputs: [row-vecs :- Array]
Returns: Array

[row-vecs]
Return a new Array initialized from row-vecs. Rows must all have same length.
sourceraw docstring

rows-getclj/s≠

clj
(rows-get arr)
(rows-get arr row-idxs)
(rows-get arr low high)
cljs
(rows-get G__46307)
(rows-get G__46311 G__46312)
(rows-get G__46316 G__46317 G__46318)

Inputs: ([arr] [arr row-idxs] [arr :- Array low :- s/Int high :- s/Int]) Returns: Array

[arr] Returns all array rows [arr row-idxs] Returns array rows specified by row-idxs [arr low high] Returns array rows in half-open interval [low..high)

Inputs: ([arr] [arr row-idxs] [arr :- Array low :- s/Int high :- s/Int])
Returns: Array

[arr]          Returns all array rows
 [arr row-idxs] Returns array rows specified by row-idxs
 [arr low high] Returns array rows in half-open interval [low..high) 
sourceraw docstring

symmetric?clj/s

(symmetric? arr)

Inputs: [arr :- Array] Returns: s/Bool

Inputs: [arr :- Array]
Returns: s/Bool
sourceraw docstring

transposeclj/s

(transpose orig)

Inputs: [orig :- Array] Returns: Array

Inputs: [orig :- Array]
Returns: Array
sourceraw docstring

vec->array-colsclj/s

(vec->array-cols nrows ncols data-vec)

Inputs: [nrows :- s/Int ncols :- s/Int data-vec :- Vector] Returns: Array

([nrows ncols data-vec]) Return a new Array of size=[nrows ncols] col-wise from data-vec.

Inputs: [nrows :- s/Int ncols :- s/Int data-vec :- Vector]
Returns: Array

([nrows ncols data-vec])
Return a new Array of size=[nrows ncols] col-wise from data-vec.
sourceraw docstring

vec->array-rowsclj/s

(vec->array-rows nrows ncols data-vec)

Inputs: [nrows :- s/Int ncols :- s/Int data-vec :- Vector] Returns: Array

([nrows ncols data-vec]) Return a new Array of size=[nrows ncols] row-wise from data-vec.

Inputs: [nrows :- s/Int ncols :- s/Int data-vec :- Vector]
Returns: Array

([nrows ncols data-vec])
Return a new Array of size=[nrows ncols] row-wise from data-vec.
sourceraw docstring

Vectorclj/s

A 1-D array of values (a vector of vectors).

A 1-D array of values (a vector of vectors).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close