I have only tested it on live.sympy and there the bug is present.
On 15 July 2013 17:11, Aaron Meurer <[email protected]> wrote: > It looks like it works to me. > > In [1]: a, b, c, d = symbols('a b c d') > M > In [2]: print Matrix([[a,b,0,0], [c,d,0,0], [0,0, a,b], [0,0, > c,d]]).transpose().applyfunc(conjugate) > Matrix([[conjugate(a), conjugate(c), 0, 0], [conjugate(b), > conjugate(d), 0, 0], [0, 0, conjugate(a), conjugate(c)], [0, 0, > conjugate(b), conjugate(d)]]) > > Aaron Meurer > > > On Mon, Jul 15, 2013 at 8:54 AM, Matthew Rocklin <[email protected]> > wrote: > > In [1]: print conjugate(Symbol('a')) > > conjugate(a) > > > > > > > > On Mon, Jul 15, 2013 at 5:35 AM, Stefan Krastanov > > <[email protected]> wrote: > >> > >> I do not know where this extremely bizarre bug comes from, but I would > >> like to remark that you can access the hermitian conjugate of a matrix > >> through `matrix.H` or the transpose through `matrix.T`. > >> > >> (It does not fix the issue of `Symbol('a')` automatically being > considered > >> hermitian) > >> > >> > >> On 15 July 2013 11:01, Alex Bredariol Grilo <[email protected]> wrote: > >>> > >>> Hi, > >>> I've starting using sympy and I really like it. > >>> > >>> But I would like to report a bug I had on online shell. > >>> > >>> I was running the following piece of code: > >>> === > >>> a, b, c, d = symbols('a b c d') > >>> Matrix([[a,b,0,0], [c,d,0,0], [0,0, a,b], [0,0, > >>> c,d]]).transpose().applyfunc(conjugate) > >>> === > >>> > >>> But the conjugate is not being applied to "a" and "b" entries of the > >>> matrix. I tried with other > >>> functions and it seemed ok, only with conjugate I'm having this issue. > >>> > >>> Thanks in advance, > >>> Alex > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups > >>> "sympy" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > an > >>> email to [email protected]. > >>> To post to this group, send email to [email protected]. > >>> Visit this group at http://groups.google.com/group/sympy. > >>> For more options, visit https://groups.google.com/groups/opt_out. > >>> > >>> > >> > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "sympy" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected]. > >> To post to this group, send email to [email protected]. > >> Visit this group at http://groups.google.com/group/sympy. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/sympy. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
