This is interesting. What part of OO do you think applies to this? You could decide that you have an N-dimensional matrix object and give it the matrixwise and multiply-composed methods. What of the mapat and transpose methods? Perhaps you give the mapat method to a multiply-nested array object. Does any of this tacking on of additional names to the functions buy you anything?
Would it be for the type conversion safety? Or is this just so that you can use the functions and still say you're using OO?
In reply to Re^2: Two handy tools for nested arrays: mapat and transpose
by diotalevi
in thread Two handy tools for nested arrays: mapat and transpose
by tmoertel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |