Liking cljdoc? Tell your friends :D

clj-ml.utils.generic


first-n-zerosclj

(first-n-zeros coll)

Given a collection, this function finds the number of zero elements of the collection from the start

Given a collection, this function finds the number of zero elements of the collection from the start
raw docstring

index-matrix-rowsclj

(index-matrix-rows matrix)

This function indexes matrix's rows and returns a map where key is the row number and value is the row itself

This function indexes `matrix`'s rows and returns a map where key is the row number and value is the row itself
raw docstring

rationaliseclj

(rationalise n)

Rationalises a number into a fraction, same as clojure.core/rationalize But this will always return the numerator as is, without the decimal Hence the denominator will be in multiples of 10

Rationalises a number into a fraction, same as `clojure.core/rationalize`
But this will always return the numerator as is, without the decimal
Hence the denominator will be in multiples of 10
raw docstring

replace-nthclj

(replace-nth coll n replacement)

Replaces nth item from coll with replacement

Replaces `n`th item from `coll` with `replacement`
raw docstring

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

× close