Hi!
I have a function:
bestfit=:(],0{&<.&<.0.5+(1+0.01*(?30)-15)*(((+/ % #)*1+#)-(+/)))
that calculates the n+1 element.
bestfit 90 90 90
90 90 90 81
The tacit form doesn't work properly, because the "?" is not active every
time I call bestfit 90 90 90.
When I use
(],0{&<.&<.0.5+(1+0.01*(?50)-25)*(((+/ % #)*1+#)-(+/))) 90 90 90
then the function works properly.
My question is if it is possible to have a tacit verb with the "?" active.
Thanks
Gian Medri
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm