4 years ago | received badge | ● Nice Question (source) |
5 years ago | received badge | ● Famous Question (source) |
8 years ago | received badge | ● Scholar (source) |
8 years ago | commented answer | Polar coordinates with negative angle Ohh... is that true even if I evaluate the first example and then edit it to change it into the second? (Not a very helpful error message, in that case...) |
8 years ago | received badge | ● Editor (source) |
8 years ago | asked a question | Polar coordinates with negative angle Following the sagemanifolds tutorial I can make R2 with rectangular and polar coordinates: This uses the range (0,2π) for θ, excluding the positive x-axis. But if I try to use instead the range (−π,π) for θ, excluding the negative x-axis: SageMathCloud gives me "ValueError: Assumption is redundant". But strangely, SageMathCell doesn't complain at all. What is the problem? |
8 years ago | received badge | ● Notable Question (source) |
9 years ago | received badge | ● Popular Question (source) |
11 years ago | commented answer | Symbolic functions without named variables Okay, I guess I see what the developers were thinking, even if I don't agree with it. (Wouldn't "coproduct" be a more appropriate term?) |
11 years ago | received badge | ● Supporter (source) |
11 years ago | commented answer | Symbolic functions without named variables I'm trying to understand this. Is the expression tree really necessary? It seems like a wrapper around a callable symbolic expression that knows how to reset the variables as needed might be sufficient for what I want. For instance, could you also overload function application, addition, etc.? |
11 years ago | commented answer | Symbolic functions without named variables Hmm... if it were really consistent about behaving this way, then I would expect `f+h` to be a type error, since you can't add elements of different rings. |
11 years ago | commented answer | Symbolic functions without named variables Thanks! Why do you refer to defining mathematical functions as "adding more semantics"? |
11 years ago | received badge | ● Student (source) |
11 years ago | asked a question | Symbolic functions without named variables Is there a way to define a symbolic function that can (e.g.) be differentiated, but doesn't remember the name of its input variable(s)? For instance, consider: Mathematically, f, g, and h, should all be the same function. However, Sage doesn't think so: I guess that this is happening because a "function" defined with |