Comment #4 on issue 978 by [email protected]: extract (-1) from all
expressions canonically
http://code.google.com/p/sympy/issues/detail?id=978
I didn't see your comments until today because I didn't have this issues
starred and you didn't cc me. I don't have time to pursue this now. Maybe
during break. The matrix posted today in the discussions (
http://groups.google.com/group/sympy/browse_frm/thread/db138dae061ffeb2/c93d92cefca72568?lnk=gst&q=imaginary#c93d92cefca72568
) has the same woes: nonsensical inversion because a 0 is not detected
(though the determinant calculation detects that it is 0, interestingly
enough, and in short order). The inversion is huge. Most elements cannot
be printed, but m_inverse[0,0].args[1] can be; it is about 41k ops long. I
can't do much with it, however. This is about all I can do quickly:
[len(a.args) for a in mi[0,0].args]
[2, 4, 4, 4, 4, 4, 4, 4, 4, 3, 6, 2, 4, 4, 4, 4, 4, 4]
Matrix(24,24,[sum([len(a.args) for a in i.args]) for i in mi])
[69, 58, 67, 68, 58, 58, 62, 60, 58, 59, 57, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 15]
[58, 69, 58, 59, 68, 68, 56, 57, 63, 62, 55, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 18]
[67, 58, 66, 67, 58, 58, 62, 60, 58, 59, 57, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 15]
[66, 58, 65, 63, 58, 58, 62, 61, 58, 61, 57, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 15]
[58, 70, 58, 59, 67, 65, 56, 57, 65, 63, 55, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 18]
[58, 70, 58, 59, 65, 65, 56, 57, 65, 63, 55, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 18]
[61, 56, 61, 63, 56, 56, 60, 59, 56, 58, 55, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 15]
[58, 56, 58, 61, 56, 56, 58, 57, 56, 59, 55, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 15]
[58, 61, 58, 59, 65, 65, 56, 57, 60, 60, 55, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 17]
[60, 62, 60, 61, 64, 64, 59, 59, 61, 59, 58, 51, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 16]
[57, 55, 57, 58, 55, 55, 55, 56, 55, 59, 53, 52, 47, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 15]
[51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 53, 49, 48, 43, 39, 35, 31, 27,
23, 19,
15, 11, 7, 14]
[47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 49, 45, 44, 39, 35, 31, 27,
23, 19,
15, 11, 7, 13]
[43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 45, 41, 40, 35, 31, 27,
23, 19,
15, 11, 7, 12]
[39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 41, 37, 36, 31, 27,
23, 19,
15, 11, 7, 11]
[35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 37, 33, 32, 27,
23, 19,
15, 11, 7, 10]
[31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 33, 29, 28,
23, 19,
15, 11, 7, 9]
[27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 29, 25,
24, 19,
15, 11, 7, 8]
[23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 25,
21, 20,
15, 11, 7, 7]
[19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
21, 17,
16, 11, 7, 6]
[15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 17,
13, 12, 7, 5]
[11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11,
13, 9, 8, 4]
[ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
7, 7,
7, 9, 5, 16]
[15, 18, 15, 15, 18, 18, 15, 15, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8,
7, 6,
5, 4, 16, 16]
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.