Help / Release / J 5.04 / u^:n Extended

From J Wiki
Jump to navigation Jump to search

>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release

u^:n Extended

initial writing: 2004-03-22
last updated: 2004-11-01

u^:(<m) , previously an error, is defined as follows:

 u^:(i.m) y    if m is a non-negative integer
 u^:(i.k) y   if m is _ or , where k is the smallest positive integer such that (u^:(k-1) y) -: u^:k y
 u^:_1^:(<|m) y  if m is negative

Moreover, the monads {&x^:a: or {&x^:(<_) for integer list x and the dyads {~^:a: or {~^:(<_) are supported by special code.

See the dictionary entry for u^:n for examples.

>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release