Liking cljdoc? Tell your friends :D

somekit.vector


averagecljs

(average coll)

return average of collection as vector

return average of collection as vector
raw docstring

but-firstcljs

(but-first vector)

rest of vector

rest of vector
raw docstring

dx->xcljs

(dx->x start list)

indexedcljs

(indexed coll)

pairs each element in a collection as an indexed tuple and return as vector

pairs each element in a collection as
an indexed tuple and return as vector
raw docstring

mat-transcljs

(mat-trans mat)

Rotates an ND matrix (vec of vecs)

Rotates an ND matrix (vec of vecs)
raw docstring

normalizecljs

(normalize list)

of3cljs

(of3 value)

create a vector of size 3 with value

create a vector of size 3 with value
raw docstring

pad-endcljs

(pad-end vector value)
(pad-end vector value pad-size)

pads end of vector with value and pad size

pads end of vector with value and pad size
raw docstring

pad-endscljs

(pad-ends vector value)
(pad-ends vector value pad-size)

pads ends of vector with value and pad size

pads ends of vector with value and pad size
raw docstring

pad-startcljs

(pad-start vector value)
(pad-start vector value pad-size)

pads start of vector with value and pad size

pads start of vector with value and pad size
raw docstring

pad-wrapcljs

(pad-wrap vector)

pads start of vector with end and end of vector with start

pads start of vector with end and end of vector with start
raw docstring

randomcljs

(random n)

random vector generator Arguments:

  • size n Returns:
  • vector of size n of normalized random values
random vector generator
Arguments:
- size n
Returns:
- vector of size n of normalized random values
raw docstring

random-customcljs

(random-custom n fn)

create a vector of random values between 0-1 of size n using a custom random function

create a vector of random values between 0-1 of size n
using a custom random function
raw docstring

random-discretecljs

(random-discrete n)

creates a vector of random 1s and 0s of size N

creates a vector of random 1s and 0s of size N
raw docstring

random-discrete-customcljs

(random-discrete-custom n fn)

creates a vector of custom random 1s and 0s of size N

creates a vector of custom random 1s and 0s of size N
raw docstring

random-rangecljs

(random-range vec)

returns a random range over a size of a vector as a vector

returns a random range over a size of a vector as a vector
raw docstring

random-range-customcljs

(random-range-custom vec fn)

returns a random range over a size of a vector as a vector

returns a random range over a size of a vector as a vector
raw docstring

random-replacecljs

(random-replace vec value)

replace random element in vector with value

replace random element in vector with value
raw docstring

random-replace-customcljs

(random-replace-custom vec value fn)

replace custom random element in vector with value

replace custom random element in vector with value
raw docstring

range-fillcljs

(range-fill vec start stop value)

fill range of elements in vector with value

fill range of elements in vector with value
raw docstring

replace-rangecljs

(replace-range vec value position)

replace elements of vector with another set at given position

replace elements of vector with another set at given position
raw docstring

zeroscljs

(zeros n)

create a vector of zeroes with size N

create a vector of zeroes with size N
raw docstring

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

× close