Handbook
Glossary
gdema ( seq n v -- newseq )
Vocabulary
math
.
finance
Inputs
seq
an
object
n
an
object
v
an
object
Outputs
newseq
an
object
Definition
USING:
kernel
math
math.vectors
sequences
;
IN:
math.finance
:
gdema
( seq n v -- newseq )
[
[
ema
]
keep
dupd
ema
]
dip
[
1
+
v*n
]
[
v*n
]
bi-curry
bi*
[
length
tail*
]
keep
v-
;