[Numpy-discussion] array vs matrix
Robert Kern
robert.kern@gmail....
Sat Jun 7 20:57:50 CDT 2008
On Sat, Jun 7, 2008 at 20:54, Anne Archibald <peridot.faceted@gmail.com> wrote:
> For consistency, it makes a certain amount of sense to have sin(A)
> compute a matrix sine, since A**n computes a matrix power. But looking
> at the matrix exponential, I see that we have several implementations,
> none of which is satisfactory for all matrices. I would expect the
> matrix sine to be similar - particularly when faced with complex
> matrices - so perhaps needing an explicit matrix sine is a good thing?
I think so. We already have scipy.linalg.sinm(), cosm(), expm(), expm2(), etc.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion
mailing list