Liking cljdoc? Tell your friends :D

sicmutils.series


fmapclj/s

(fmap f s)

generateclj/s

(generate f)

Produce the series generated by (f i) for i in 0, 1, ...

Produce the series generated by (f i) for i in 0, 1, ...
raw docstring

partial-sumsclj/s

(partial-sums s)

Form the infinite sequence of partial sums of the given series

Form the infinite sequence of partial sums of the given series
raw docstring

series?clj/s

(series? s)

starting-withclj/s

(starting-with & xs)

Form the infinite sequence starting with the supplied values. The remainder of the series will be filled with the zero-value corresponding to the first of the given values.

Form the infinite sequence starting with the supplied values. The
remainder of the series will be filled with the zero-value
corresponding to the first of the given values.
raw docstring

sumclj/s

(sum s n)

takeclj/s

(take n s)

valueclj/s

(value S x)

Find the value of the series S applied to the argument x. This assumes that S is a series of applicables. If, in fact, S is a series of series-valued applicables, then the result will be a sort of layered sum of the values. Concretely, suppose that S has the form [[A1 A2 A3...] [B1 B2 B3...] [C1 C2 C3...]...] Then, this series applied to x will yield the series of values [(A1 x) (+ (A2 x) (B1 x)) (+ (A3 x) (B2 x) (C1 x)) ...]

Find the value of the series S applied to the argument x.
This assumes that S is a series of applicables. If, in fact, S is a
series of series-valued applicables, then the result will be a sort
of layered sum of the values. Concretely, suppose that S has the
form
  [[A1 A2 A3...] [B1 B2 B3...] [C1 C2 C3...]...]
Then, this series applied to x will yield the series of values
  [(A1 x) (+ (A2 x) (B1 x)) (+ (A3 x) (B2 x) (C1 x)) ...]
raw docstring

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

× close