Re: [sage-support] Re: Error building Sage

2015-03-18 Thread Ankur Omar
The same error came when I tried to build it again. I have installed sage-6.2 now... and it is working fine. On Wednesday, March 18, 2015 at 1:48:05 AM UTC+5:30, Jeroen Demeyer wrote: > > This is suspicious, it looks like a problem on your system. > > ranlib: libbackend.a: Error reading dwarf2ou

[sage-support] Error building Sage

2015-03-17 Thread Ankur Omar
Error building Sage. The following package(s) may have failed to build: package: gcc-4.9.2.p1 log file: /home/ankuromar/sage-6.5/logs/pkgs/gcc-4.9.2.p1.log build directory: /home/ankuromar/sage-6.5/local/var/tmp/sage/build/gcc-4.9.2.p1 The build directory may contain configuration files and oth

[sage-support] Docs don't seem to say Integer.__pow__(a,b,m) produces an element of Z/mZ

2012-03-13 Thread Omar
I tracked down a confusing bug in some code I was writing in Sage down to the fact that pow(a,b,m) applied to Sage Integers does not give an Integer result, but rather an object with parent the ring of integers mod m (a simple call to either int() or .lift() fixed my code). I like this design d

[sage-support] Why two functions matrix.invert(), matrix.inverse()?

2009-03-08 Thread Omar
Does anybody know why there are two methods to invert matrices? One of them is called m.inverse() and the other is m.invert(). invert() seems to be only defined for dense matrices with rational entries, and inverse() seems to work for both sparse and dense matrices over any field. Is there a go