APLX Help : Help on APL language : APL Primitives : ⌈ Greater of




Twoargument form See also oneargument form Ceiling Finds the larger of two numbers. Each number in the righthand argument is compared with the corresponding number in the lefthand argument. The result is the larger number from each comparison. (This operation is affected by 87 ⌈ 91 91 ¯5 ⌈ ¯9 (The negative number nearer 0 ¯5 is considered the greater) 20 7 40 ⌈ 91 3 41 (Each number in a vector is compared 91 7 41 with the corresponding number in a vector of equal size) ⌈/TABLE (The / operator used with ⌈ 62.8 9.1 to select the biggest in each row. See the entry for /.) 2 ⌈1 (2 2 ⍴⍳4) (⍳3) (The result of comparing 2 with each 2 2 2 2 2 3 element in the right argument) 3 4 2 3⌈2 (2 2 ⍴⍳4) (⍳3) (Arguments must be the same length) LENGTH ERROR 2 3⌈2(2 2⍴⍳4)(⍳3) ^ (2 2⍴⍳4) 3 (⍳3)⌈3 (2 2 ⍴⍳4) (3 2 1) 3 3 3 3 3 2 3 (Corresponding elements compared) 3 4 3 4 

APLX Help : Help on APL language : APL Primitives : ⌈ Greater of

Copyright © 19962010 MicroAPL Ltd