Those of you interested in APL/J/K might find Iverson's book Elementary Algebra interesting where he defines lots of operations in array notation. I dug up this PDF looking for one that was out of print:
http://www.softwarepreservation.org/projects/apl/Papers/Elem...