APLX Help : Help on APL language : APL Primitives : ⌊ Lesser of
|
|
|
|
Two-argument form See also one-argument form Floor Finds the smaller of two numbers. Each number in the right-hand argument is compared with the corresponding number in the left-hand argument. The result is the smaller number from each comparison. (This operation is affected by 87 ⌊ 91 87 ¯5 ⌊ ¯9 (The negative number further from 0 ¯9 is considered the smaller) 20 7 40 ⌊ 91 3 41 (Each number in a vector is compared 20 3 40 with the corresponding number in a vector of equal size) TABLE1 0 ¯3 66 9 16 4 TABLE2 12 ¯8 17 7 0 1 TABLE1 ⌊ TABLE2 (Each number in a matrix is compared 0 ¯8 17 with the corresponding number in 7 0 1 a matrix with the same number of rows and columns) 2 ⌊1 (2 2 ⍴⍳4) (⍳3) (Each element in the right argument is 1 1 2 1 2 2 compared with 2) 2 2 |
|
APLX Help : Help on APL language : APL Primitives : ⌊ Lesser of
|
Copyright © 1996-2010 MicroAPL Ltd