2021-05-12 00:58:18 +0200 | received badge | ● Notable Question (source) |
2017-03-20 15:37:41 +0200 | received badge | ● Popular Question (source) |
2014-01-31 21:49:13 +0200 | received badge | ● Famous Question (source) |
2013-09-17 11:03:04 +0200 | received badge | ● Great Question (source) |
2013-05-26 13:50:51 +0200 | received badge | ● Good Answer (source) |
2013-03-21 07:23:04 +0200 | received badge | ● Famous Question (source) |
2012-07-08 05:05:24 +0200 | received badge | ● Notable Question (source) |
2012-03-03 09:27:48 +0200 | received badge | ● Popular Question (source) |
2012-02-27 15:48:20 +0200 | received badge | ● Taxonomist |
2012-01-17 08:08:51 +0200 | received badge | ● Self-Learner (source) |
2012-01-17 08:08:51 +0200 | received badge | ● Nice Answer (source) |
2012-01-16 15:22:31 +0200 | received badge | ● Good Question (source) |
2012-01-16 15:22:31 +0200 | received badge | ● Nice Question (source) |
2011-11-28 09:40:56 +0200 | received badge | ● Nice Question (source) |
2011-11-18 16:18:08 +0200 | marked best answer | How do I create a log plot of line data? You could rescale the data before you plot it: If you want the tick marks to be logarithmic, the docstring for To be honest though, I had a lot of trouble using the |
2011-11-18 16:17:42 +0200 | marked best answer | Symbolic linear algebra Hi tcfisher, Here's one less-tedious way, using Python's list comprehension, string formatting, and an alternate format for the Note that this does not inject the variables ' But if all you want to do is manipulate these matrices, that will work fine: And of course if you need the ' |
2011-11-18 16:16:46 +0200 | received badge | ● Scholar (source) |
2011-11-18 16:16:46 +0200 | marked best answer | Is there a way to set arbitrary function commuting rules? Here is how you can define an additive function: The documentation you get from isn't very helpful, but this has some examples: |
2011-11-18 15:02:39 +0200 | received badge | ● Supporter (source) |
2011-11-18 03:31:32 +0200 | received badge | ● Nice Question (source) |
2011-11-17 15:13:21 +0200 | asked a question | Is there a way to set arbitrary function commuting rules? I am trying to perform a derivation using discrete difference operations, but I don't want to actually define my discrete operator. What I would like to do, is specify I'd like to specify d(xy) = d(xy) (multiplication does not commute), but I need d(x+y) = d(x) + d(y) (addition does commute). Any ideas? |
2011-11-17 14:45:40 +0200 | received badge | ● Notable Question (source) |
2011-07-27 09:59:41 +0200 | received badge | ● Editor (source) |
2011-07-26 18:54:24 +0200 | asked a question | How do I create a log plot of line data? Is there a good way to create a log-log plot of line data in sage? I can't find it through the plot or line interfaces. |
2011-04-14 16:36:29 +0200 | received badge | ● Popular Question (source) |
2010-12-01 11:15:57 +0200 | answered a question | Is there a way to simplify_full and trig_reduce a matrix? I have to do this often, so I wrote a function: Use: You could easily adapt this to be better or require fewer arguments and can create a similar function for vectors. |
2010-10-14 23:11:12 +0200 | received badge | ● Teacher (source) |
2010-10-14 23:11:12 +0200 | received badge | ● Student (source) |
2010-09-30 12:28:21 +0200 | answered a question | Symbolic linear algebra Thanks for your help niles. Here is the function I came up with to do this automatically from now on. Note that root must be a string. |
2010-09-30 10:22:36 +0200 | asked a question | Symbolic linear algebra Most of my research is in numerical methods/numerical analysis. I need to perform derivations using arbitrary matrices. Currently, when using sage, I have to declare all the elements of a symbolic matrix: var('p00 p01 p02 p03 p10 p11 p12 p13 p20 p21 p22 p23 p30 p31 p32 p33') Pmat=matrix([[p00,p01,p02,p03],[p10,p11,p12,p13],[p20,p21,p22,p23],[p30,p31,p32,p33]]) Clearly for large matrices this is prohibitively tedious. In Mathematica, I simply use: pmat=Array[p,{4,4}] I am then able to put constraints on the elements of p and solve for the values for the given method I am trying to derive. I prefer to use sage over Mathematica, so if someone can enlighten me how to accomplish this task in sage, I would appreciate it. |