[PYTHON MATRIX-SIG] Some thoughts on default axes.
tim@lassi.ece.uiuc.edu
tim@lassi.ece.uiuc.edu
Thu, 22 Aug 1996 11:10:40 -0500
Here some more random naming conventions for your amusement:
Capitalize structural ops:
Concatenate, Reduce, Take, Repeat, ...
sort, argsort, fft, argmax, ...
"Simple, but looks like a Class constructor..."
Use 'of' with nonstructural ops (as "the argsort of x"):
concatenate, reduce, take, repeat, ...
sort_of, argsort_of, fft_of, argmax_of, ...
"Weird"
Turn nonstructural operations into adjectives, leave structural ones as verbs:
concatenate, reduce, take, repeat, ...
sorted, argsorted, ffted, argmaxed, ...
"Weirder!"
Spell nonstructural operations backwards:
concatenate, reduce, take, repeat, ...
tors, torsgra, tff, xamgra, ...
"Very weird! Impossible to spell. Fails for palindromes."
--
-tim
+--------------------------------------------------------------------+
| Tim Hochberg Ultrahigh Speed Digital Electronics Lab |
| tim@lassi.ece.uiuc.edu University of Illinois |
| http://dogbert.ece.uiuc.edu/~tim (217) 333-6014 |
+--------------------------------------------------------------------+
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================