Re: matrix power (was: matrix multiply)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: matrix power (was: matrix multiply)

Anne Archibald
On 05/04/2008, Stéfan van der Walt <[hidden email]> wrote:

>  Some discussion recently took place around raising a square matrices
>  to integer powers.  See ticket #601:
>
>  http://scipy.org/scipy/numpy/ticket/601
>
>  Anne Archibald wrote a patch which factored 'matrix_multiply' out of
>  defmatrix (the matrix power implemented for the Matrix class).  After
>  some further discussion on irc, and some careful footwork so that
>  everything imports correctly, I checked in
>
>  http://projects.scipy.org/scipy/numpy/changeset/4968
>
>  The matrix_multiply method is exposed as numpy.linalg.matrix_multiply,
>  and is not in the top-level numpy namespace (it's a bit crowded there
>  already).  I'd be glad if you would review the changeset and comment.

Just to be clear, the function is called matrix_power, not matrix_multiply.

Anne
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: matrix power (was: matrix multiply)

Stéfan van der Walt
On 06/04/2008, Anne Archibald <[hidden email]> wrote:

> On 05/04/2008, Stéfan van der Walt <[hidden email]> wrote:
>
>  >  Some discussion recently took place around raising a square matrices
>  >  to integer powers.  See ticket #601:
>  >
>  >  http://scipy.org/scipy/numpy/ticket/601
>  >
>  >  Anne Archibald wrote a patch which factored 'matrix_multiply' out of
>  >  defmatrix (the matrix power implemented for the Matrix class).  After
>  >  some further discussion on irc, and some careful footwork so that
>  >  everything imports correctly, I checked in
>  >
>  >  http://projects.scipy.org/scipy/numpy/changeset/4968
>  >
>  >  The matrix_multiply method is exposed as numpy.linalg.matrix_multiply,
>  >  and is not in the top-level numpy namespace (it's a bit crowded there
>  >  already).  I'd be glad if you would review the changeset and comment.
>
>  Just to be clear, the function is called matrix_power, not matrix_multiply.

Sorry, 05:00am is maybe not the time to write these posts.  Now there
is another good reason to review the changes :)

Cheers
Stéfan
_______________________________________________
Numpy-discussion mailing list
[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Loading...