[sage-support] Re: Numerically integrating over a region defined by linear inequalities

2012-06-24 Thread Slumberland
This is very similar to the problem I'm stuck on: *1) Problem:* -I have two functions defined by linear inequalities -I would like to add these functions -*they are piecewise* * * My case is signal processing. Like you, these inequalities -define bounded regions equally expressible as simple geome

[sage-support] Re: riemann roch basis

2012-06-24 Thread Slumberland
Ah. That is a confusing error message. AttributeError: 'ProjectiveCurve_finite_field' object has no attribute > 'riemann_roch_basis' ... because the size of the finite_field F is not prime. According to the documentation > To

[sage-support] Re: sagetex difficulty

2012-06-24 Thread Slumberland
Your output looks different than mine when this happens, but I think it's the same: there is still a Python text parser operating on your strings before Latex can get to them. \nabla will give you \n "newline", \tau will give you \t, etc. if you type an r before the quotes surrounding the str

Re: [sage-support] Re: Java crash with plot3d

2012-06-24 Thread Slumberland
I came from Blender to SAGE and was taken aback by the state of the graphcial tools. It makes me very happy to read this message: On Thursday, March 8, 2012 2:29:23 PM UTC-8, William wrote: > > > GENERAL CONTEXT: Currently, Sage by default uses JMOL > (http://jmol.sourceforge.net/) to display 3d

[sage-support] split() function for lists

2012-06-24 Thread Ruslan Kiianchuk
SAGE has the flatten() function for nested lists. But often one needs to make nested lists of certain length out of single flat list. For instance, turn [1, 2, 3, 4, 5, 6, 7, 8, 9] into [[1, 2, 3], [4, 5, 6], [7, 8, 9]] Mathematica has split() function for that, but I can't find any identical

Re: [sage-support] split() function for lists

2012-06-24 Thread Minh Nguyen
Hi, On Sun, Jun 24, 2012 at 11:41 PM, Ruslan Kiianchuk wrote: > Is there any built-in function I don't know of? And if > not, why not implement it, so the user wouldn't have to reinvent the wheel > each time since such functionality is simple and often needed? The recipe at the link below might

[sage-support] Re: split() function for lists

2012-06-24 Thread Volker Braun
If you want to generate a matrix, you can do the following: sage: matrix(3,3,[1, 2, 3, 4, 5, 6, 7, 8, 9]) [1 2 3] [4 5 6] [7 8 9] Though generally speaking, the fact that you are even faced with this problem points toward you not using an appropriate data structure to start with. I can't rememb

Re: [sage-support] Re: Missing worksheet contents

2012-06-24 Thread Dan Aldrich
I inserted text in one of my graphs to show the RC constant (tau) of a cap. That would be the unicode character you're seeing. Something like: text("$\\tau$ = 0",(tau + .02 ,f(tau))) -d At 10:52 PM 6/23/2012, you wrote: Interesting. I see errors in the server log about unicode characters,

[sage-support] Re: Java crash with plot3d

2012-06-24 Thread Keshav Kini
Slumberland writes: > It wouldn't hurt to make a fuss about this, generate some more noise. I've > dug > through a lot of SAGE documentation over the last month without running into > so > much as a peep about the (poor) state of the display methods. I agree! But I think you might find a more

Re: [sage-support] Divisor and Riemman Roch

2012-06-24 Thread Slumberland
Hmmm. My comment seems to be hung up pending review. New member. Everything you did was fine. riemann_roch_basis only works for prime F: To compute a basis of the Riemann-Roch space of a divisor [image: D] on a > curve over a field [image: F], one can use Sage’s wrapper > riemann_roch_basis o

[sage-support] Re: How do I download SAGE?

2012-06-24 Thread Slumberland
I agree with this: On Tuesday, May 22, 2012 7:52:23 AM UTC-7, kcrisman wrote: > > I was introducing some folks to downloading Sage on Windows the other day, > and I think that this particular workflow is proving to be confusing to > more than just Mr. Rose. I think it's very simple. The infor

[sage-support] Re: Solving quadratic inequalities with Mixed Ineger Linear Programming

2012-06-24 Thread Slumberland
I am wondering about this one actually: On Wednesday, May 30, 2012 6:24:33 AM UTC-7, Dima Pasechnik wrote: > > Or "finiding a parametric representation of the solutions"? This is (one of ) a (large number) of problems I have been wondering about for awhile. And maybe finding a representative

[sage-support] Re: How do I download SAGE?

2012-06-24 Thread John H Palmieri
On Sunday, June 24, 2012 3:08:13 PM UTC-7, Slumberland wrote: > > > You make an arbitrary choice. You *pick* an editor, and a Tex > installation, and you make it part of SAGE, because SAGE can't display math > without it. > This is just not true. Sage can display most run-of-the-mill math wit

[sage-support] Re: Drawing Circle using simple equation of circle

2012-06-24 Thread Slumberland
Okay, that's maybe not the answer you're looking for. What he means is that you can't plot it explicitly without solving for y. "Implicit" is another way of saying "not in the form y = " (or z= , x = etc) But it can be instructive to figure out how to plot the functions which define a ci

Re: [sage-support] dirac delta function

2012-06-24 Thread Slumberland
I don't think Sage knows what it is doing with the dirac_delta. Since it * thinks* it does, does this qualify as a bug? For example, Sage is quite happy to return an answer to sage: f = dirac_delta(x) sage: n(integrate(f,x,-infinity,infinity)) 0 which is wrong. On Monday, July 11, 2011 7:43:16

Re: [sage-support] Re: Drawing Circle using simple equation of circle

2012-06-24 Thread Priyanka Kapoor
On Mon, Jun 25, 2012 at 7:39 AM, Slumberland wrote: > Okay, that's maybe not the answer you're looking for. > > What he means is that you can't plot it explicitly without solving for y. > "Implicit" is another way of saying > "not in the form y = " > (or z= , x =   etc) > > But it can be inst