[cc-ing to sage-support, please answer on sage-support rather than
sage-devel]
You can also use one of the following tricks.
- you can make a cell python by typing
%python
in the first line of the cell.
- towards the top of every notebook worksheet,
there are four
Can we not use + to add complex numbers?
sage: j = -1/2 + sqrt(3)/2*i
sage: a = -2*j*j
sage: b = -j/2
sage: print a.real(); print b.real(); print (a+b).real()
1
1/4
+ 1/4
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
On 31 mar, 21:44, Edgar Duéñez-Guzmán eadue...@gmail.com wrote:
Hello,
I recently upgraded sage to the binary version 4.6.2 for Ubuntu i586,
and ran into the following error:
sage: (r,s,t,c,d,p,q) = var( 'r,s,t,c,d,p,q' )
sage: A = matrix( [ [r, -s, r, -s], [t, 0, t-p, -p], [r, -s-c, r,
On 30 mar, 20:58, ObsessiveMathsFreak wrote:
I'm just wondering if there is a canonical (i.e. convienient(i.e.
lazy)) way to define simple sequences and series in sage. In
particular, is there a standard way to define recursive series?
Suppose for example that You wanted to define the series