Hi
> Yes, write code to workaround this case.
This is mostly done except that on some ring the 0x3 matrix is considered to
be invertible ! And also that the error messages are inconsistent: some raise
a ValueError some raise an ArithmeticError, some says "self must be a square
matrix" some other "matrix has to be square". Since I'm on it right now I can
deal with it. Two questions:
1 - it's not clear from me which of the two error should be raised.
2 - to ensure coherency, it would be easier to have only one file where the
results for different rings and data structures are handled. Do you think
this is a good idea to have a file called says "coherency_tests.py" which
contains only tests and not proper code ?
My opinion is that this is not the right way to do. I think it fits perfectly
into Nicolas check_... framework. So that in the top class Matrix in
matrix0.py one can make a check_trivial_matrices(self) methods and call check
for all the doc. Unfortunately for this we have to wait for this device to be
integrated. Any though ?
Florent
--~--~---------~--~----~------------~-------~--~----~
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/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---