f=: 3 : 0
for. i. y do.
smoutput ?y
end.
)
   f 5
0
0
4
1
4

2010/1/19 DIETER ENSSLEN <[email protected]>:
> thanks Don and Ian
>
>   i.1e6,  i.1e7  , i.1e8      in any program line will depending on the 
> machine used yield  'oom'  (out of memory) errors
>
> there are a great many slowly converging series in mathematics, that benefit 
> from the amazing speed of J and its good accuracy.
>
> I need to learn how to do     'for n=1 to m   ..    next  n'     (or for n=0 
> to m.....next n)  loops that are child's play in BASIC or Assembly, etc 
> languages.
>
> But I am 'academically' interested what brute force would do with big modern 
> gaming machines with lots and lots of amazing RAM.
>
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði
Po Box 127,801 Selfoss ,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to