APLX Help : Help on APL language : APL Primitives : * To the power of




Twoargument form See also oneargument form 'e' to power Raises the lefthand argument to the power of the righthand argument. 2 * 3 (2 to the power 3, or 2 cubed) 8 ¯1 * 2 3 4 1 ¯1 1 (¯1 to the power 2 3 4) 2 * 0.5 1.414213562 (Square root of 2) 2 4 6 8 16 * 2 4 16 36 64 256 (Square of 2 4 6 8 16) ¯1*0.5 (No unreal number result allowed) DOMAIN ERROR ¯1*0.5 ^ If the right argument is negative, the result is the reciprocal of the result obtained from using a right argument which is the absolute value of the negative argument. 2*¯3 0.125 ÷2*3 (Reciprocal of 2*3) 0.125 ((⍳3)(2 2⍴⍳4))*2 1 4 9 1 4 9 16 

APLX Help : Help on APL language : APL Primitives : * To the power of

Copyright © 19962010 MicroAPL Ltd