Re: [sage-support] Re: linear transformations (by jason Grout)

2017-09-08 Thread William Stein
> I know that Andrey had pushed some changes so this works in Sage cell (and it > does on the site linked to) and it should still in sagenb - matrices and > vectors are shortcuts for a certain type of array interact. So yes, the > argument should be interactive, but it is recognized as such.

[sage-support] Re: linear transformations (by jason Grout)

2017-09-08 Thread kcrisman
> I think the problem, at least in CoCalc, is that @interact expects every argument to the function to be an interactive device. That may well be the problem in sagemath 8.1 too. I know that Andrey had pushed some changes so this works in Sage cell (and it does on the site linked to) and it

[sage-support] Re: Sage crash on first run - can't find the fortran compiler

2017-09-08 Thread Dima Pasechnik
On Friday, September 8, 2017 at 10:29:53 PM UTC+1, Koen van Greevenbroek wrote: > > > Hey! > > I just downloaded and unpacked the latest Sage binaries for Fedora 25 (I'm > running Fedora 26), but upon the first run, Sage crashes with "ImportError: > libgfortran.so.3: cannot open shared object

[sage-support] Re: linear transformations (by jason Grout)

2017-09-08 Thread john_perry_usm
This doesn't work for me at all on CoCalc; it gets stuck in an infinite loop because of the matrix A. If I move the definition of A into the body of the loop, it seems to work. Like so: @interact def linear_transformation(theta=slider(0, 2*pi, .1), r=slider(0.1, 2, .1, default=1)):

[sage-support] linear transformations (by jason Grout)

2017-09-08 Thread HG
https://wiki.sagemath.org/interact/linear_algebra @interact def linear_transformation(A=matrix([[1,-1],[-1,1/2]]),theta=slider(0, 2*pi, .1), r=slider(0.1, 2, .1, default=1)): v=vector([r*cos(theta), r*sin(theta)]) w = A*v circles = sum([circle((0,0), radius=i, color='black') for i in

[sage-support] Fwd: typos wanted

2017-09-08 Thread John Cremona
-- Forwarded message -- From: paul zimmermann Date: 8 September 2017 at 09:27 Subject: typos wanted To: john.crem...@gmail.com John, please could you post the following to sage-support (and maybe sage-devel)? Thank you, Paul