Hi all!
Say I have a function, like so...
fn =. 3 : 0
+/(1+i.y)^5
)
fn 839
58340773411141200
Now, I wish to make a table of all the values of 'fn' from 1 to
1000... Do I have to write a 'for' loop?
Obviously, 'fn i. 1000' doesn't work and changing 'y' to "0 y in the
function also doesn't work because of the '+/'.
This has got to be a simple thing, but I just can't quite seem to
get it.
Thanks!
-- Glenn
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm