2017-11-28 18:19:10 +0200 | commented answer | Why is sagemath real numbers arithmetic gives incorrect result? Thank you very much. I get it now. |
2017-11-28 08:24:06 +0200 | asked a question | Why is sagemath real numbers arithmetic gives incorrect result? I was using Sagemath for computation. There I was input "152.8-152.43" and gets something like "0.370000000000005". I tried to use RLF and RR too but I could not eliminate the extra number "5" at the end of the result. This raises no problem, since I do not that level of precision, but the number "5" at the end of the result just drives me upset. Why is it so? Is there anyway I can do to eliminate this problem? Matlab gave me the right answer. Is this some kind of weakness of Sagemath? I love Sagemath and intend to stick to it lifelong. But did I go wrong somewhere? |
2017-11-28 07:25:31 +0200 | asked a question | [Sagemath] How to perform element-wise operators on lists? I want to do things like .^, ./ in matlab, also, things like cos(X) would give a matrix of [cos(x)]. How can I achieve this in Sagemath? |
2017-11-28 07:22:43 +0200 | received badge | ● Supporter (source) |
2017-11-27 22:28:41 +0200 | received badge | ● Student (source) |
2017-11-27 19:31:18 +0200 | asked a question | Sage Math freeze my Linux on intensive computation. Sage Math hangs my Linux on intensive computation, there was a big loop with floating number and uniform random function. Is there a way to limit the Sage Math resource such that my computer won't hang, or even makes the Sage Math runs slower until the result is found without freezing the Linux? |