Re: [sage-support] non parametric curve plot

2015-05-18 Thread Brian Sherson
I believe what you are looking for is “implicit_plot” ~Brian On 05/18/2015 03:15 PM, Evrim Ulu wrote: Hello, Is there a way to plot non-parametric curve of 2-variables f(x,y)=0? I've seen the documentation always employs rational parametrization or uses plot3d. best, evrim. -- You received

Re: [sage-support] differentiating large function problem

2014-12-22 Thread Brian Sherson
Dustin, I don’t think you can use LaTeX syntax to define f. ~Brian On 12/22/2014 11:27 AM, Dustin Tingley wrote: Hi, I'm trying to differentiate a pretty nasty function. However, I keep running into invalid syntax problems. a, c, g, k, t, g1, e2, t = var('a,c,g,k,t,g1,e2,t') f=\frac{(\frac{g

Re: [sage-support] How long a time is compilation Sage?

2014-12-17 Thread Brian Sherson
Actually, I did -j8. On Dec 17, 2014 12:59 AM, "Jori Mantysalo" wrote: > On Tue, 16 Dec 2014, Brian Sherson wrote: > > That sounds about right, Dmitry. It takes my server a few hours, and it >> is an 8-core, 3.5 GHz processor. >> > > Then you have not set

Re: [sage-support] How long a time is compilation Sage?

2014-12-16 Thread Brian Sherson
That sounds about right, Dmitry. It takes my server a few hours, and it is an 8-core, 3.5 GHz processor. ~Brian On Dec 16, 2014 4:04 PM, "Dmitry Nanyshev" wrote: > Hi all. How long time is a compilation? I am download Sage 5.0.1. > Unzipped. Run make. It's been for 3 hours and it still compiles.

[sage-support] Solving symbolic inequalities does not always yield explicit solutions.

2014-11-13 Thread Brian Sherson
Hello~ I am attempting to write a script in which I would like sage to solve some symbolic inequalities *explicitly* for certain variables, but it does not produce the expected results. sage: var("x, y, z") sage: solve(z>x/y, x) This returns: [[0 < y, y*z - x > 0], [y < 0, -y*z + x > 0]] I

[sage-support] Assumptions not acknowledged

2014-09-18 Thread Brian Sherson
Could anyone tell me what I am doing wrong here? sage: g(x,y) = ((x-y)/sqrt(1-(x-y)^2)/y) sage: forget() sage: var("alpha") sage: assume(alpha>0) sage: assume(alpha<1) sage: assume(x>-1+alpha) sage: *assume(x-alpha-1<0)* sage: g(x,y).integral(y, alpha, x+1, algorithm="maxima") And yet I stil

Re: [sage-support] exponents with units of measurement?

2014-09-03 Thread Brian Sherson
Don’t feel too bad, it took me a while to discover that method. :) ~Brian On 09/01/2014 08:40 PM, Hal Snyder wrote: how could I have missed that? Thank you! On Monday, September 1, 2014 10:35:11 PM UTC-5, shersonb wrote: Try the .simplify_radical() method. ~Brian -- You received thi

Re: [sage-support] exponents with units of measurement?

2014-09-01 Thread Brian Sherson
Try the .simplify_radical() method. ~Brian On 09/01/2014 08:31 PM, Hal Snyder wrote: Is there a way to simplify sqrt(some_unit_of_measurement^2) without knowing what's in the expression? Often a chain of computations will lead to a result like the following: 7.5 * sqrt(units.length.meter^2)

[sage-support] Heartbleed bug

2014-04-13 Thread Brian Sherson
First question: Is SAGE notebook susceptible to the Heartbleed bug when run with secure=True? Secondly, if so, would any connection that attempts to exploit that bug necessarily show up in the console? ~Brian -- You received this message because you are subscribed to the Google Groups "sage

Re: [sage-support] Re: Array in Sage

2013-05-20 Thread Brian Sherson
Have you looked into numpy module? It is not specific to Sage, but it should work. Also, the indexing is a little bit friendlier. sage: import numpy sage: C = numpy.array(1, 2], [3, 4]], [[3, 4], [5, 6]]], [[[7, 8], [9, 10]], [[-1, -2], [-3, -4) sage: C array( 1, 2], [ 3, 4]