2018-10-15 07:30:20 -0500 | received badge | ● Nice Answer (source) |

2018-10-15 04:17:20 -0500 | received badge | ● Civic Duty (source) |

2018-10-15 04:16:56 -0500 | answered a question | desolve initial condition involving e gives strange answer Looking at the source of versus So it seems that Sage cannot be trusted to preserve the ordering LHS = RHS of an equation. This is definitely a bug which should be reported. |

2018-10-10 07:56:39 -0500 | commented question | Anaconda - Sage conflict in .bashrc Please quote the respective lines which are causing the conflict (to make it easier for people to help you). |

2018-10-10 02:24:58 -0500 | commented question | Graph with partial edge labelling Maybe label the "unlabeled" by |

2018-10-08 10:32:30 -0500 | commented question | In Boolean function truth tables in n variables, the table is arranged x_{n-1}, x_{n-2},...,x_1,x_0. How can I change so the order is x_0, x_1,... instead? This is not my forte but it seems this labeling is a convention of Sage. Changing it would entail changing the implementation of |

2018-10-07 07:21:58 -0500 | received badge | ● Nice Answer (source) |

2018-10-06 12:22:35 -0500 | received badge | ● Nice Answer (source) |

2018-10-06 04:22:59 -0500 | commented answer | Print symbolic variables like a_1 in A[1] style There is an option for MATLAB but not BASIC. However I imagine it's not too difficult to convert output in one of the supported languages into BASIC. |

2018-10-06 04:00:32 -0500 | commented answer | Print symbolic variables like a_1 in A[1] style You're welcome. I wouldn't try to do that myself. I recommend (also in my answer, slightly edited since the original) to convert the expression to a sympy expression and to use their |

2018-10-06 03:46:39 -0500 | commented answer | Print symbolic variables like a_1 in A[1] style Ah, I didn't think about the interfaces to other programs. What you can do is use your original variable names, and substitute them by the ones I defined at the very last step before output. Something like |

2018-10-06 03:27:20 -0500 | received badge | ● Associate Editor (source) |

2018-10-06 03:23:45 -0500 | answered a question | Print symbolic variables like a_1 in A[1] style Indeed Reading the source of Note that not all expressions are immediately valid C-expressions in this way, e.g. you still have to transform |

2018-10-02 08:38:41 -0500 | commented question | Show correct output of polynomial That is due to the implementation of fraction field elements. To render the expression in the desired way, see my answer. |

2018-10-02 07:38:41 -0500 | answered a question | Solving Groebner Basis of an ideal that includes parameters with order=lex yields non triangular equations
For this to be possible the system must have a finite number of solutions, but your system has an infinite number of solutions.
You can compute You can also call |

2018-09-30 04:45:44 -0500 | commented question | Show correct output of polynomial This is a rational function, and an 'ordering of terms' is not part of the data, so Sage should not be expected to preserve it. Nevertheless the desired output can be obtained; see my answer. |

2018-09-30 04:38:41 -0500 | answered a question | Show correct output of polynomial The object you want to construct is a rational function (quotient of polynomials), and we can define it as such: We can obtain the two parts you want e.g. as follows (or you could have defined them individually): Now we can generate the LaTeX for each part individually and join them by a plus symbol: Showing the LaTeX gives the desired output: $x^{2} + 2 x + 1 + \frac{1}{x^{2} + 2 x + 1}$. |

2018-09-12 04:35:40 -0500 | commented question | How to define coefficient in grobner bases Note: Buchberger's algorithm (to find a Gröbner basis) for linear forms is just Gaussian elimination. |

2018-09-03 09:38:39 -0500 | commented question | Saturated chains My naive idea was to take all subchains of all maximal chains. This works, but it is inefficient because you get duplicates. |

2018-09-03 09:30:28 -0500 | commented answer | Saturated chains I would wrap the last command in |

2018-09-02 11:36:57 -0500 | received badge | ● Nice Answer (source) |

2018-09-02 09:26:07 -0500 | commented question | Saturated chains This is not my field so I can ask a silly question: Is every saturated chain a subchain of a maximal chain? |

2018-09-01 12:33:34 -0500 | answered a question | vector constants and vector functions One approach is to use symbolic expressions The addition example becomes slightly verbose (but certainly unambiguous): An apparent downside is that this blurs the line between variables and symbolic constants which might also appear: However, many operations which are really operations on functions are implemented in Sage as operations on symbolic expressions, where the dependent variables are passed alongside the symbolic expression. For example, to calculate the Jacobian: |

2018-08-30 03:08:30 -0500 | commented question | Bug in ODE solving? It seems Sage has trouble parsing the output from Maxima. Can you/someone try solving the same system in Maxima (with |

2018-08-30 02:31:26 -0500 | received badge | ● Critic (source) |

2018-08-30 02:30:27 -0500 | received badge | ● Citizen Patrol (source) |

2018-08-26 13:25:42 -0500 | received badge | ● Nice Answer (source) |

2018-08-13 16:42:49 -0500 | commented question | Is there a way to start a Sage session from a session of its Python interpreter ? How about wrapping commands in |

2018-08-13 16:21:25 -0500 | received badge | ● Nice Answer (source) |

2018-08-13 13:25:20 -0500 | answered a question | Solving a differential equation - From SageManifold Use |

2018-08-10 11:35:49 -0500 | answered a question | Algorithm for computing Class Group and Class Number? Here Sage is letting PARI do the hard work, creating a "Buchmann's number field" (
Some more names are dropped further along the page. In the source code of PARI one sees that Note that Sage's parameter
The source for
The second phase tests the units and relations, but I am not sure how. |

2018-08-05 17:43:45 -0500 | received badge | ● Nice Answer (source) |

2018-08-04 09:23:28 -0500 | commented answer | Words avoiding patterns That is because you didn't fix the case is not the same as |

2018-08-04 08:10:58 -0500 | answered a question | Words avoiding patterns Note the original function Your new function Here I also corrected the case Note that you could avoid this case by adding an extra clause to your However this will perform many pointless comparisons to |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.