Linear equations with block matrices

36 views
Skip to first unread message

Anton Akhmerov

unread,
Jul 12, 2015, 8:59:29 AM7/12/15
to sy...@googlegroups.com
Hi everyone,

I'm trying to solve a system of linear equations involving a bunch of block matrices, see over here:

http://nbviewer.ipython.org/url/antonakhmerov.org/misc/Andreev reflection.ipynb

Obviously my attempt is overly naive, but I didn't find any complicated solution in the docs neither. Is it possible?

In my experience such problems are common in quantum mechanics, and since the solution is quite straightforward, it'd be great if sympy supported these. BTW if I'm not mistaken, there's no easy way to do the same in Mathematica, curiously.

Best,
Anton

Sartaj Singh

unread,
Jul 12, 2015, 9:10:29 AM7/12/15
to sy...@googlegroups.com


On Sunday, 12 July 2015 18:29:29 UTC+5:30, Anton Akhmerov wrote:
Hi everyone,

I'm trying to solve a system of linear equations involving a bunch of block matrices, see over here:

http://nbviewer.ipython.org/url/antonakhmerov.org/misc/Andreev reflection.ipynb

The link appears to be broken. Can you fix it?

Anton Akhmerov

unread,
Jul 12, 2015, 9:12:46 AM7/12/15
to sy...@googlegroups.com
>> http://nbviewer.ipython.org/url/antonakhmerov.org/misc/Andreev
>> reflection.ipynb
>
>
> The link appears to be broken. Can you fix it?

Sorry, a space bar in the filename. You can either select the full
link manually and copy it in the URL or use this one:
http://nbviewer.ipython.org/url/antonakhmerov.org/misc/Andreev_reflection.ipynb

Anton

>
>>
>>
>> Obviously my attempt is overly naive, but I didn't find any complicated
>> solution in the docs neither. Is it possible?
>>
>> In my experience such problems are common in quantum mechanics, and since
>> the solution is quite straightforward, it'd be great if sympy supported
>> these. BTW if I'm not mistaken, there's no easy way to do the same in
>> Mathematica, curiously.
>>
>> Best,
>> Anton
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sympy" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sympy/uCcsNXZPWuQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/0a1fdf13-93dd-4403-89c8-17cbc7badaf9%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Aaron Meurer

unread,
Jul 13, 2015, 1:41:12 PM7/13/15
to sy...@googlegroups.com
solve() unfortunately doesn't work with MatrixSymbols right now. See
https://github.com/sympy/sympy/issues/7379.

Aaron Meurer
> 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 sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CADr1H-8y1gtH%2B%3D3zkRpNsQov9Ui-QRs2sv4x0%2B8-SYwSjyPASw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages