2023-10-07 05:54:14 +0200 | received badge | ● Notable Question (source) |
2023-10-07 05:54:14 +0200 | received badge | ● Popular Question (source) |
2023-07-08 03:13:08 +0200 | received badge | ● Notable Question (source) |
2022-06-10 23:06:42 +0200 | received badge | ● Popular Question (source) |
2021-07-09 16:43:54 +0200 | received badge | ● Associate Editor (source) |
2021-07-09 16:43:54 +0200 | edited answer | Wrong result after using factor(): known Sage bug? Not an answer, but here is some additional code that avoids the preparser problem. The numbers used in this code are no |
2021-07-09 16:42:00 +0200 | edited answer | Wrong result after using factor(): known Sage bug? Not an answer, but here is some additional code that avoids the preparser problem. The numbers used in this code are no |
2021-07-09 16:37:56 +0200 | answered a question | Wrong result after using factor(): known Sage bug? Not an answer, but here is some additional code that avoids the preparser problem. The numbers used in this code are no |
2021-07-09 16:15:54 +0200 | commented answer | Wrong result after using factor(): known Sage bug? The unformatted version is identical to your g(x) above. |
2021-07-08 17:39:43 +0200 | commented answer | Wrong result after using factor(): known Sage bug? Thanks for confirming. I didn't run into the preparer issue. f(x) resulted from solving a set of equations, each of whi |
2021-07-08 17:39:18 +0200 | commented answer | Wrong result after using factor(): known Sage bug? Thanks for confirming. I didn't run into the preparer issue. f(x) resulted from solving a set of equations, each of whi |
2021-07-07 15:42:18 +0200 | commented question | Wrong result after using factor(): known Sage bug? Not sure what 'tour copy seems incorrect' means. You can get the reported output by pasting the above code in SageMathC |
2021-07-06 12:13:03 +0200 | commented answer | MacOS: Is there a difference between SageMath 9.3 and SageMath9.3 app notebooks? Thanks for the answer! |
2021-07-05 18:32:48 +0200 | edited question | Wrong result after using factor(): known Sage bug? Wrong result after using factor(): known Sage bug? It looks like factor() doesn't play well with complicated expressions |
2021-07-05 14:58:33 +0200 | edited question | Wrong result after using factor(): known Sage bug? Wrong result after using factor(): known Sage bug? It looks like factor() doesn't play well with complicated expressions |
2021-07-05 14:58:24 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug when using factor() (UPDATED) Edit: solved some issues with the code, added a few more cases and improved the descri |
2021-07-05 14:53:51 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-05 14:51:36 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-04 12:40:46 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-04 12:39:49 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-04 12:39:24 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-04 12:38:22 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-04 12:33:32 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? (UPDATED) Edit: solved some issues with the code, added a few more cases a |
2021-07-04 12:33:18 +0200 | edited question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? Here is the output of the code below. Case 1 - original code 10.488787596 |
2021-07-03 22:26:48 +0200 | asked a question | Wrong result after using factor(): known Sage bug? Bug using factor() and complicated constants? Here is the output of the code below. Case 1 - original code 10.488787596 |
2021-07-01 10:56:07 +0200 | asked a question | MacOS: Is there a difference between SageMath 9.3 and SageMath9.3 app notebooks? MacOS: Is there a difference between SageMath 9.3 and SageMath9.3 app notebooks? When creating a new SageMath 9.3 notebo |
2020-12-30 13:13:32 +0200 | commented answer | Expression substitution fails: why? On my local 9.1 installation, the expression |
2020-12-29 22:03:38 +0200 | commented answer | Expression substitution fails: why? Thanks for the response. However, Sagemath 9.1 and 9.2 also yield True when testing the three expressions for equality; see the updated code in my original question. The problem is with the substitution (third line of the three approaches). How does Sagemath 9.3beta5 handle this? BTW: Thanks for showing the shortcut domain='positive'; I didn't know this one yet. |
2020-12-29 12:54:24 +0200 | received badge | ● Nice Question (source) |
2020-12-29 12:27:52 +0200 | asked a question | Expression substitution fails: why? Hi, I recently ran into a weird problem where substituting one equation into another sometimes fails with a MemoryError, depending on how the original equation was derived. In the code below I have been able to isolate the issue (my actual code sometimes stumbles on the third approach, and I will have to see how I can change its structure to work around the issue). In all three approaches, the printout of real_expr is identical. However, when trying to execute the subsequent substitution, it looks like there must be a difference between the three, at least in their internal representation. Note that the MemoryError does not occur when the substitution is simpler, i.e. Am I missing something, or is this just a bug? BTW: I am running Sage 9.1, but the problem also occurs on SageCell (which I presume is running 9.2). Updated code |
2020-06-29 09:31:49 +0200 | received badge | ● Enthusiast |
2020-06-28 12:59:16 +0200 | commented answer | How to find arbitrary complex constants in symbolic expressions? Thanks again. The updated approach works when we know the expressions up front. However, one step more difficult is when they result from a computation. Here is another example. Interestingly enough, when solving the equation for x, the .find(I*w0) approach works. However, when solving for y, it doesn't. |
2020-06-27 22:53:35 +0200 | commented answer | How to find arbitrary complex constants in symbolic expressions? Thanks for the answer. You are correct that I meant x to be a real number. I thought of this approach too, but unfortunately, it breaks down when the expression becomes a more complex. Here is an example. In this example, .find(I*w0) yields the term containing the cube root from f, but not from g. However, .imag() yields complicated expressions for both f and g because it takes into account that abs(x) may be greater than 1. |
2020-06-27 16:40:36 +0200 | asked a question | How to find arbitrary complex constants in symbolic expressions? How do I go about finding terms in a symbolic expression containing arbitrary complex constants? I had hoped that the code fragment below would yield something like [2Ix], [Ix], [I], and [2I]. However, instead it yields [], [I*x], [], and []. Is there another way to isolate the terms containing an arbitrary complex constant? |
2020-06-22 20:24:57 +0200 | commented question | DeprecationWarning I understand about the second case. However, it is the first example that is puzzling me. |
2020-06-22 18:21:31 +0200 | asked a question | DeprecationWarning See the question in the example below. What is the cause off the inconsistency with respect to generating the DeprecationWarning? |
2020-02-25 18:51:28 +0200 | received badge | ● Famous Question (source) |