Ask Your Question

dg.aragones's profile - activity

2023-01-22 12:36:27 +0200 received badge  Famous Question (source)
2020-12-19 01:41:22 +0200 received badge  Famous Question (source)
2020-08-31 21:06:15 +0200 received badge  Famous Question (source)
2020-02-17 17:45:04 +0200 received badge  Notable Question (source)
2019-08-07 09:53:06 +0200 received badge  Popular Question (source)
2019-05-07 13:14:27 +0200 received badge  Notable Question (source)
2018-11-02 14:42:33 +0200 received badge  Notable Question (source)
2018-06-14 16:36:06 +0200 received badge  Popular Question (source)
2018-03-01 14:26:05 +0200 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 14:39:22 +0200 commented question Configure a GUI

@slelievre: I'm using Ubuntu 16.04.

2018-02-16 14:31:49 +0200 received badge  Popular Question (source)
2018-02-08 00:50:21 +0200 received badge  Enthusiast
2018-01-19 06:50:12 +0200 received badge  Necromancer (source)
2018-01-19 06:50:12 +0200 received badge  Teacher (source)
2018-01-16 22:28:17 +0200 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 15:36:47 +0200 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 15:03:39 +0200 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 20:56:09 +0200 commented question Using Cantor with Sage in Ubuntu?

I've the same problem... =(

2018-01-14 22:42:32 +0200 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 12:13:50 +0200 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 11:58:51 +0200 received badge  Scholar (source)
2018-01-02 11:58:36 +0200 received badge  Supporter (source)
2018-01-01 22:37:46 +0200 commented answer Limit of a matrix power

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

2018-01-01 22:30:58 +0200 commented answer Delayed assignment

Thank you so much for your answer!

2017-12-26 19:59:54 +0200 received badge  Student (source)
2017-12-26 12:06:31 +0200 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-21 00:21:19 +0200 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-21 00:08:44 +0200 received badge  Editor (source)
2017-12-20 23:57:57 +0200 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 09:42:20 +0200 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!