On 5/19/07, Terrence Brannon <[EMAIL PROTECTED]> wrote:
It compiles but returns 1 when it should not. fib =: base_case ` rec_case @. t
You probably defined t=:>&1: which is going to be a problem -- t's value would always be 1 when used as a monad and 0 when used as a dyad. This won't work for fibonacci. t should be either t=:>&1 or, if you prefer t=:1 < ] -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
