Re: [Numpy-discussion] Implementing elementary matrices

2014-03-24 Thread Matt Pagan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Eelco Hoogendoorn: > Sounds (marginally) useful; although elementary row/column > operations are in practice usually better implemented directly by > indexing rather than in an operator form. Though I can see a use > for the latter. > > My sugges

Re: [Numpy-discussion] Implementing elementary matrices

2014-03-24 Thread Eelco Hoogendoorn
Sounds (marginally) useful; although elementary row/column operations are in practice usually better implemented directly by indexing rather than in an operator form. Though I can see a use for the latter. My suggestion: its not a common enough operation to deserve a 4 letter acronym (assuming tho

[Numpy-discussion] Implementing elementary matrices

2014-03-23 Thread Matt Pagan
Greetings! I made a patch for NumPy that adds a function for easily creating elementary matrices. Sorry for not knowing the process for submitting patches. Is this function something the NumPy community could see adding to the codebase? Are there ways I can improve on this? diff --git a/numpy/lib