(fmap f 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, ...
(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
(series? 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.
(sum s n)
(take n 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)) ...]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close