## | Absolute value

One-argument form See also two-argument form Residue

Makes any negative numbers in the right-hand argument positive.

                 | 2 ¯4 ¯7.8 3
           2 4 7.8 3
                 |(¯0.1 ¯10.1 11.3 25) (2 2½¯10 3 ¯45 2.1)
            0.1 10.1 11.3 25  10 3
                              45 2.1

Topic: APLX Help : Help on APL language : APL Primitives : | Absolute value

[ Previous | Next | Contents | Index ]