[SciPy-dev] draft: NumPy User Guide introduction
Tue Aug 25 10:52:32 CDT 2009
--- On Tue, 8/25/09, Alan G Isaac <firstname.lastname@example.org> wrote:
> As a user, I'd actually like to see
> `dot` implemented as a method so we
> could do a1.dot(a2). This would make
> a lot of code cleaner to read.
> Alan Isaac
Submit a patch, see if it gets accepted:
if self.shape == a2.T.shape:
return np.dot(self, a2)
return self # (or whatever else is thought logical)
> Scipy-dev mailing list
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Scipy-dev