[Numpy-discussion] doc string linalg.solve --> works for b is matrix
David Goldsmith
d.l.goldsmith at gmail.com
Wed Jul 21 17:59:12 EDT 2010
Take it as a reminder: when reporting an error or problem, even if it
doesn't seem relevant, always provide version number. :-)
DG
On Wed, Jul 21, 2010 at 12:50 PM, Mark Bakker <markbak at gmail.com> wrote:
> I am using 1.3.0.
> Glad to hear it is correct in 1.4.0
> Sorry for bothering you with an old version, but I am very happy with this
> feature!
> Mark
>
>
>> What version of numpy are you using? That docstring was updated in that
>> fashion about 8 mo. ago (at least in the Wiki; I'm not sure exactly when
>> it
>> was merged, but it does appear that way in version 1.4.0).
>>
>> DG
>>
>> I am using linalg.solve to solve a system of linear equations. As I have
>> to
>> > solve multiple systems with the same matrix, but different right-hand
>> sides,
>> > I tried to make the right-hand side a matrix and that works fine.
>> > So the docstring should say:
>> >
>> > Solve the equation ``a x = b`` for ``x``.
>> >
>> > Parameters
>> > ----------
>> > a : array_like, shape (M, M)
>> > Input equation coefficients.
>> > b : array_like, shape (M,) or array_like, shape (M,N)
>> > N can be arbitrary size
>> > Equation target values.
>> >
>> > Returns
>> > -------
>> > x : array, shape (M,) or array, shape (M,N)
>> >
>> > Thanks,
>> >
>> > Mark
>>
>>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
--
Mathematician: noun, someone who disavows certainty when their uncertainty
set is non-empty, even if that set has measure zero.
Hope: noun, that delusive spirit which escaped Pandora's jar and, with her
lies, prevents mankind from committing a general suicide. (As interpreted
by Robert Graves)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100721/b3069867/attachment.html>
More information about the NumPy-Discussion
mailing list