2021-05-04 16:13:43 +0200 | received badge | ● Notable Question (source) |
2018-09-03 04:18:08 +0200 | received badge | ● Popular Question (source) |
2017-08-23 15:58:18 +0200 | received badge | ● Famous Question (source) |
2017-03-20 12:05:30 +0200 | received badge | ● Popular Question (source) |
2017-03-20 12:05:21 +0200 | received badge | ● Popular Question (source) |
2017-02-04 20:48:21 +0200 | received badge | ● Famous Question (source) |
2016-12-08 10:53:54 +0200 | received badge | ● Famous Question (source) |
2016-12-08 10:53:54 +0200 | received badge | ● Notable Question (source) |
2016-06-08 03:37:06 +0200 | received badge | ● Notable Question (source) |
2016-06-07 03:42:14 +0200 | received badge | ● Famous Question (source) |
2016-03-07 21:40:24 +0200 | received badge | ● Notable Question (source) |
2015-06-08 21:26:18 +0200 | received badge | ● Notable Question (source) |
2015-04-14 11:22:46 +0200 | received badge | ● Popular Question (source) |
2014-12-19 02:16:33 +0200 | received badge | ● Famous Question (source) |
2014-07-15 03:47:13 +0200 | received badge | ● Popular Question (source) |
2014-06-29 03:15:14 +0200 | marked best answer | Members of a Polynomial Ring don't respond to solve yields $$\newcommand{\Bold}[1]{\mathbf{#1}}\left(\begin{array}{rr} a & b \ c & d \end{array}\right)$$ as expected, but then solve does not respond - outputs But all the same, the |
2014-06-29 03:15:13 +0200 | marked best answer | Weird output for differential of a non-analytic complex function. The following code, produces Now I undestand where the problem might be, $z$ and $z^*$ are usually treated as independent variables thus. But does sage mean by this output? |
2014-06-29 03:15:13 +0200 | marked best answer | Substituting for a matrix of variables I constructed a matrix of variables in the following way: When i tried to substitute one of the variables with zero, it did not work. Interestingly though, the following snippet, decidedly the same to me, works with a similar syntax |
2014-06-29 03:15:13 +0200 | marked best answer | complex conjugate of a variable I attempted to construct the complex conjugate of a variable thus - this throws a SyntaxError, although the |
2014-06-29 03:15:13 +0200 | marked best answer | Math Display in SageNB webinterface resizeable? Is the MathDisplay portion of the sagenb.org interface (the one that shows the jsmath output) resizeable? I have some big matrix displayed that does not fit in the default height. The fact that it has horizontal scrolling but no vertical scrolling is a bit weird! |
2014-06-29 03:15:13 +0200 | marked best answer | Typesetting environment in notebook I tried to edit the following notebook here. On editing it seems to have a rich text formatting environment of its own - how do i get it? |
2014-06-29 03:15:13 +0200 | marked best answer | Function of symbols that is drawn from a matrix of symbols - does not work! Please look at the first cell in this worksheet. The ProblemWanted to simplify the following symbolic calculation: If S be a matrix, nXn, of symbols - the matrix $A_{ab}=\sum_{c\ne{d}}S_{ac}S_{ad}S_{bd}S_{bc}$. Construction of the matrix of symbols And this works, the matrix is constructed. sanity Check works perfectly. RoadblockHowever this construct does not work: print [(S[i][int(k/n)]S[i][k%n]S[j][k%n]S[j][int(k/n)])(int(k/n)!=k%n)for k in range(n^2)] and returns Consequently the constructor for the matrix $A_{ab}$ doesnt work as well! Check Again returns a list containing 0, 1 and 2 s only. So the IndexError up there does not make sense either! Edit: Addendum sage then returns the following error: Traceback (most recent call last): #print flatten([[[(i,int(k/n),k%n,j,1*(int(k/n)!=k%n))for k in range(n^2)]for i in range(n)]for j in range(n)]) File "", line 1, in <module> (more) |
2014-06-29 03:15:13 +0200 | marked best answer | evaluating the $U^\dagger U$ of an unitary matrix does not work $U^\dagger U$ does not return the identity. why? sage output- |
2014-06-29 03:15:09 +0200 | marked best answer | Matrix of variables required, or is it there already? i am a python newbie. i needed a class that would support a fixed point search on a space of matrices. Is there any object that combines the methods of "sage.symbolic.expression" and "sage.matrix.matrix_generic_dense" ? |
2014-04-30 19:44:44 +0200 | received badge | ● Popular Question (source) |
2014-04-03 20:03:50 +0200 | received badge | ● Popular Question (source) |
2013-07-31 17:25:46 +0200 | received badge | ● Notable Question (source) |
2013-07-26 16:25:38 +0200 | received badge | ● Nice Question (source) |
2013-07-26 12:47:43 +0200 | marked best answer | Typesetting environment in notebook Actually, there's a lot more available than the HTML you mentioned. Move your cursor until it's a little bit above the Sage cell. You'll see a purple line/bar appear. Press Shift at the same time you click the mouse and you'll get an extensive array of options including inserting pictures and highlighting. I don't have the karma to upload the picture. Here's a screenshot: |
2013-03-29 19:00:08 +0200 | marked best answer | complex conjugate of a variable
|
2013-02-19 15:19:03 +0200 | received badge | ● Popular Question (source) |
2012-04-23 03:39:40 +0200 | marked best answer | Members of a Polynomial Ring don't respond to solve First, polynomial rings don't automatically inject their variables in the global name space. You can do this Or use the following short-hand notation to declare the polynomial ring and inject the variables at the same time: Second, you can't mix the symbolic solver with polynomial algebra. To "solve" (what does that even mean since there is no formula for the roots of polynomials of degree > 5) polynomial equations you should rephrase your question in terms of ideals and term orders. |
2012-04-20 09:47:16 +0200 | marked best answer | Output of solve - what does it mean? You are trying to solve a system with one equation and two unknowns. This cannot be done. So what sage is doing is assuming t=1 and then solving it. |
2012-04-20 01:40:53 +0200 | asked a question | Output of solve - what does it mean? After a lengthy bit of coding, yields
$$ \newcommand{\Bold}[1]{\mathbf{#1}}\left(\left[r = -\sqrt{-\frac{\alpha_{1} t^{2}}{\alpha_{2}} - \frac{\alpha_{3} t^{2}}{\alpha_{2}} + 1}, r = \sqrt{-\frac{\alpha_{1} t^{2}}{\alpha_{2}} - \frac{\alpha_{3} t^{2}}{\alpha_{2}} + 1}, r = 0\right], \left[1, 1, 1\right]\right)$$
Note that the second element of the output is just |
2012-04-20 00:29:40 +0200 | marked best answer | Members of a Polynomial Ring don't respond to solve As far as I can tell, this error message has nothing to do with solve. (See below for that issue, though.) If you do So it looks like instead that this is just unsupported behavior that you are trying to do. I'm not sure exactly why it's not supported, but it's not. Now, we still run into problems even after we do the "right" thing. This is a workaround: But the code in the error above pretty clearly shows that we need symbolic variables. To make this code more concise for more complicated situations, you could do and that preserves the type of |