> By the way,in the current j64-602a(and beta vesions),0x1=is
> 2.718281828,is it a bug?

0x1 being non-zero is a bug.



----- Original Message -----
From: Xu Zuoqian <[EMAIL PROTECTED]>
Date: Friday, March 7, 2008 1:22
Subject: [Jprogramming] Is there a tacit version EMA?
To: [email protected]

> The Exponential Moving Average function is defined as(cf.
> http://www.fmlabs.com/reference/default.htm):
> EMA(0)=y(0)
> EMA(i)=(K*y(i))+(1-K)*EMA(i-1),where K=2/(n+1) and n=length(y)
> A explict version is
> EMA=:((2 % [:>: #) $: ])  : (4 :'(((x * [) +  (-.x) * 
> ])/\.)&.|. y')
> Can it be convert to a tacit train?
> 
> By the way,in the current j64-602a(and beta vesions),0x1=is
> 2.718281828,is it a bug?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to