Joe,

I think you are looking for  shift as discussed here.
http://jsoftware.com/help/dictionary/d231.htm

If you think I am right and want more, let me know.


On Fri, Feb 21, 2014 at 5:58 PM, Joe Bogner <joebog...@gmail.com> wrote:

> is there a better way to do this? Calculate change over the 4th or Nth
> previous cell?
>
>
>  d=.(1+(i.4)),(1.25+(i.4))
>
>  d %~ ((# d) {. _4 {. d)
>
> 1.25 1.125 1.08333 1.0625 0 0 0 0
>
>
> --
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to