[Jprogramming] forward differences
Raul Miller
rauldmiller at gmail.com
Fri Dec 14 05:39:40 HKT 2007
On Dec 13, 2007 2:54 PM, Tracy Harms <t_b_harms at yahoo.com> wrote:
> list=: (i.10)^5
> order=: 3 NB. i.e. third-order
> ]noun=: (}. - }:)^:order list
> ]verb=: (}. - }:)@]^:[
...
> I do not yet properly grasp why the two nouns that
> come into play must be reorganized between these two
> modes.
In your statement
(}. - }:)^:order list
the value represented by 'order' becomes a part of the derived
verb which receives the value represented by 'list'.
In contrast, with
order (}. - }:)@]^:[ list
your top level verb takes two arguments.
In other words, you put the number represented by 'order' in
one of two different places because you are doing different things
with it.
Does this help?
--
Raul
More information about the Programming
mailing list