Download A Brief J Reference
Transcript
7 4 Basic Arithmetic x + y + y x - y - y x * y * y x % y % y +: y -: y *: y x %: y %: y x ^ y ^ y x ^. y ^. y x | y | y x <. y <. y x >. y >. y <: y >: y x plus y y; identity function for real y, conjugate for complex y x minus y negate y x times y signum of y is _1, 0 or 1 depending on the sign of real y x divide y reciprocal of y double y halve y square y xth root of y square root of y x to the power y exponential base e base x logarithm of y natural logarithm (base e) residue (remainder); y mod x absolute value of y minimum of x and y; (smaller of, lesser of ) greatest integer less than or equal to y; called the floor maximum of x and y; (larger of, greater of ) least integer greater than or equal to y; called the ceiling predecessor of y; y-1 (decrement) successor of y; y+1 (increment)