2018-09-01 18:37:10 +0200 | received badge | ● Notable Question (source) |
2017-04-15 10:41:04 +0200 | received badge | ● Popular Question (source) |
2014-06-29 18:53:33 +0200 | received badge | ● Famous Question (source) |
2014-06-29 18:53:33 +0200 | received badge | ● Popular Question (source) |
2014-06-29 18:53:33 +0200 | received badge | ● Notable Question (source) |
2014-06-02 12:24:51 +0200 | received badge | ● Student (source) |
2014-02-17 15:40:08 +0200 | commented answer | Why cant I multiply two vectors together on sage cell? OK, I guess that makes sense... thanks! |
2014-02-17 15:33:55 +0200 | commented answer | Why cant I multiply two vectors together on sage cell? That makes sense slelievre, but I am still confused as to why I can use "v" by itself. Why can I do v*A if A was a 2x2 matrix without having to tell it that v is a row vector? |
2014-02-17 13:11:30 +0200 | commented answer | How to do symbolic vector/matrix manipulations in Sage? Almost, tmonteil. I would like to know how/if it can show it, in matrix form. For example, instead of declaring x and y as variables, we declare a 2x1 vector x, so it shows the hessian in terms of the _vector_ x... |
2014-02-17 13:09:41 +0200 | received badge | ● Supporter (source) |
2014-02-17 13:09:33 +0200 | commented answer | Why cant I multiply two vectors together on sage cell? Thanks tmonteil, however I am more confused now. If I try v*vC it works just find, but vC*v doesnt work - why the discrepancy? That is, why does it complain about the 'type' of data structure in one case, but does not complain about it in the other? Another thing: I tried to multiply v with a matrix A. It seems that it 'knows' how to interpret v regardless of which side I put it around A. Yet it does not know how to interpret v with A is substituted for vC? Not complaining, just trying to understand how it thinks. Thanks. |
2014-02-17 12:35:27 +0200 | asked a question | How to do symbolic vector/matrix manipulations in Sage? Hello, So I have a 2x1 vector $\mathbf{x} \in R^2$, and a function on it called $f(\mathbf{x}) = log(\mathbf{1}^T \mathbf{x})$ which of course, returns a scalar. I would like to compute the Hessian of this function in Sage, symbolically. That is, I would like it so show me what the 2x2 Hessian matrix would look like, but in terms of the elements of $x$, or even better, in terms of the vector $\mathbf{x}$. Is there such a way? Thanks. |
2014-02-17 12:30:09 +0200 | received badge | ● Editor (source) |
2014-02-17 12:11:18 +0200 | asked a question | Why cant I multiply two vectors together on sage cell? Hello all. Sage noob here. My friend recently told me about sage and convinced me to give it a whirl. (My background is MATLAB). I made an account, and went to sage cell for a quick run. I typed this in: I would like to simply get the outer product of those two vectors. However it errors out. I would like to think that I am boneheading something here, because this is a legitimate operation. I have multiple tutorial/documentation tabs open but nothing really elucidating why/how this doesnt work. Would appreciate any insight. |