> 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. U
> 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 sh
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
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)):
A=matrix
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 [
-- 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
--