Ask Your Question

dg.aragones's profile - activity

2019-08-07 02:53:06 -0600 received badge  Popular Question (source)
2019-05-07 06:14:27 -0600 received badge  Notable Question (source)
2018-11-02 08:42:33 -0600 received badge  Notable Question (source)
2018-06-14 09:36:06 -0600 received badge  Popular Question (source)
2018-03-01 07:26:05 -0600 commented question Configure a GUI

@slelievre: Yes, I've installed both. It seems that the bug is on Cantor as discussed here: http://blog.filipesaraiva.info/?p=1897. Thank you so much for the resources!

The following questions are directly related:

2018-02-17 07:39:22 -0600 commented question Configure a GUI

@slelievre: I'm using Ubuntu 16.04.

2018-02-16 07:31:49 -0600 received badge  Popular Question (source)
2018-02-07 17:50:21 -0600 received badge  Enthusiast
2018-01-18 23:50:12 -0600 received badge  Necromancer (source)
2018-01-18 23:50:12 -0600 received badge  Teacher (source)
2018-01-16 15:28:17 -0600 commented question Configure a GUI

The Jupyter notebook is really good, but it's browser-based and I prefer to work in a proper GUI...

2018-01-16 08:36:47 -0600 answered a question A non-web based GUI for SAGE

I know about two:

I've posted the following related question: https://ask.sagemath.org/question/406.... If you manage to configure one of them, let us know =).

2018-01-16 08:03:39 -0600 asked a question Configure a GUI

Hello everyone,

I'm a new Sagemath user and I'm interested in set up a GUI. The main ones I've found are Spyder and Cantor. However, Spyder is intended for Python and the Sagemath backend for Cantor doesn't seem to work properly...

How can I configure Spyder and Cantor to work with Sagemath as a backend?

Thank you so much for your answers!

2018-01-15 13:56:09 -0600 commented question Using Cantor with Sage in Ubuntu?

I've the same problem... =(

2018-01-14 15:42:32 -0600 asked a question Use R result

Hi!

I'm new in Sagemath, but I've some experience using R. For example, if I want to generate 100 random numbers from a Bernoulli distribution, I can use the code:

r.rbinom(n=100,size=1,prob=0.25)

But... Is there any way to use the result for another operation in Sagemath? And results related to a linear regression, a given test or a plot (done with R)? May it be more efficient to use Scipy in a general workflow?

Thanks for your answers!

2018-01-02 05:13:50 -0600 asked a question Symbolic calculus of extrema

Hi!

Is there any way in Sagemath to find symbolically the local extrema of a given function?

Thanks for your answers!

EDIT: As an example one may be interested in the extrema of the following differentiable function:

K=var('K');
l=var('l');
x=var('x');
z(x)=(cosh(-1/2*K*l+K*x)-cosh(1/2*K*l))/K; #Given function
2018-01-02 04:58:51 -0600 received badge  Scholar (source)
2018-01-02 04:58:36 -0600 received badge  Supporter (source)
2018-01-01 15:37:46 -0600 commented answer Limit of a matrix power

Really good solution! That's exactly what I was looking for!

2018-01-01 15:30:58 -0600 commented answer Delayed assignment

Thank you so much for your answer!

2017-12-26 12:59:54 -0600 received badge  Student (source)
2017-12-26 05:06:31 -0600 asked a question Delayed assignment

Hi!

I'm new in Sage and I'm trying with the following input:

a=2;
x=a;
a=3;
x

Then, the output isn't updated. Is there any way to set a delayed assignment? I'm talking about something similar to the ':=' form of assignment in Mathematica. Note that with a delayed assignment isn't required to define 'x' as a function.

Thank you so much in advance!

2017-12-20 17:21:19 -0600 answered a question Limit of a matrix power

Thank you so much for your answers!

I've edited the question to focus on the limit of the diagonal matrix. In Mathematica there is a way to do this directly, but finally I've found a workaround in Sage:

diagonal_matrix([limit((J^n)[k,k],n=infinity) for k in range(0,3)])

Maybe it's not the most efficient way to do this, but this works with diagonal matrices... The difference is that one needs to execute component by component, also for a more general case (non diagonal matrices).

2017-12-20 17:08:44 -0600 received badge  Editor (source)
2017-12-20 16:57:57 -0600 commented question Limit of a matrix power

Yes, in the past it was! Now I'm using it as an exercise to learn a bit of Sage

2017-12-20 02:42:20 -0600 asked a question Limit of a matrix power

Hello!

I'm new in Sagemath and I want to calculate the limit of the power of a given 3x3 diagonal matrix:

J=matrix([[1,0,0],[0,-1/2-1/2*I,0],[0,0,-1/2+1/2*I]]); #Given diagonal matrix
n=var('n');
limit(J^n,n=infinity) #The limit command fails =(

Is there any way to do this?

Trank you so much!