I have encountered the following bug with version 9.6 of SageMath under
Ubuntu. This works perfectly in SageMath 9.1
Example:
A = matrix(IntegerModRing(2) , 2, 2, [1, 0, 1, 1])
A.column_space()
-> The kernel appears to have died. It will restart automatically.
--
You received this message b
Does sage have built-in the analog of MatrixLog in Mathematica?
I noticed that one can use logm in scipy:
from scipy import linalg
matrix(linalg.logm(mat))
(where mat is the matrix whose log is to be computed), but I am wondering
whether there is a better way?
Thank you.
--
You received
The following commands:
var("x,y")
(incomplete_gamma(x,y).diff(x)).simplify()
give the following error (on cloud.sagemath.com):
Error in lines 2-2 Traceback (most recent call last): File
"/projects/367dddb5-9cc5-40f5-bd01-50bab618f735/.sagemathcloud/sage_server.py",
line 736, in execute exec c
Jeroen Demeyer writes:
> Sage 5.10 was released on 17 June 2013. It is available in
> source and binary form from:
>
> * http://www.sagemath.org/download.html
Thanks a lot for Sage to all involved!
I have installed 5.10 from binary in Ubuntu 12.04 (using the binary
marked for 13.04), but I ge
anks again!
Rafael.
On Sunday, September 16, 2012 2:09:02 AM UTC-4, Robert Dodier wrote:
>
> On 2012-09-16, kcrisman > wrote:
>
> > I don't have access to a Maxima instance right now - can someone try to
> > recreate this there?
>
> For the record, here's what I
Hello,
I am encountering an error when checking numerically the imaginary period
of the Jacobi sn function:
sage: u=1.2
sage: m=0.5
sage: jacobi('sn',u,m)
0.887715488619
sage: jacobi('sn',u+2*I*elliptic_kc(1-m),m)
jacobi_sn(1.2 + 3.7081493546*I, 0.500)
sage: n(jacobi('sn',u+2*I*ellip
Oscar Lazo writes:
> Hello, I have just upgraded my ubuntu distribution, and JMOL has
> stopped working for me. It gives me the familiar yellow square
> advising to install java and allow firefox to use it.
>
> I've done:
>
> $ sudo apt-get install sun-java6-jre sun-java6-plugin
> ...
> sun-java6
Rafael writes:
> Hi to all,
>
> Let us say that "reg" is a permutation group. I want to find the
> elements of reg that send 12 to 1. Is there a better way to do that (in
> one step, say) than:
>
> sage: def f(x): return x(12)==1
> :
> sage: filter(
Hi to all,
Let us say that "reg" is a permutation group. I want to find the
elements of reg that send 12 to 1. Is there a better way to do that (in
one step, say) than:
sage: def f(x): return x(12)==1
:
sage: filter(f,reg.list())
[(1,12)(2,5)(3,4)(6,7)(8,11)(9,10)]
?
--
To post to this g
Hello all,
The option "simple=True" to create a simple Cayley graph (as opposed to
a digraph) does not seem to work for me in sage 4.5.3. A small example
follows. What am I doing wrong?
sage: c6=CyclicPermutationGroup(6)
sage: c6.list()
[(), (1,2,3,4,5,6), (1,3,5)(2,4,6),
I find the following counter-intuitive:
sage: i^2
-1
sage: a = (1-i) * x ; a
-(I + 1)*x
sage: a.coeff(x,1)
-I + 1
Is this a bug?
It made me make an error in the subject of an exam I wrote.
Thanks,
Rafaël
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from t
On Sun, Aug 23, 2009 at 11:59 PM, John H Palmieri wrote:
>
> On Aug 10, 8:41 pm, Rafael Villarroel wrote:
> Some comments: first, in general, these functions would be better as
> "methods", so that they would be called as
>
> S.is_free_face(s)
> S.free_face_
following functions that seem to work, and I would
appreciate any comments you may have that would help me improve when
working with Sage.
Best regards,
Rafael
# a free face is one that is contained properly in exactly one maximal face
def is_free_face (S,s):
def f(x): return set(s)<=set(
The correct code:
p = pylab.plot(t,y)
Thank you!
On Fri, Aug 7, 2009 at 5:01 PM, Rafael Cardoso Dias Costa
wrote:
> People,
>
> Help me, please.
>
> *My code is:*
>
> reset()
>
> import pylab as pylab
>
> T = 0.1
> t = pylab.linspace(0,100-T,100/
/axis.py",
line 969, in update_units
converter = munits.registry.get_converter(data)
File
"/home/sage/sage_install/sage/local/lib/python2.6/site-packages/matplotlib/units.py",
line 138, in get_converter
for thisx in x:
TypeError: 'sage.symbolic.expression.Expression'
thank you!
On Fri, Aug 7, 2009 at 4:41 PM, William Stein wrote:
>
>
> 2009/8/7 Rafael Cardoso Dias Costa
>
>> People,
>>
>> Sage has similar comand "clear all" Matlab?
>
>
> sage: reset()
>
> William
>
>
> >
>
--
Rafael
People,
Sage has similar comand "clear all" Matlab?
Thank you!
--
Rafael Costa
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegrou
9, in fft
return _raw_fft(a, n, axis, fftpack.cffti, fftpack.cfftf,
_fft_cache)
File "/home/sage/sage_install/sage/local/lib/python2.6/site-packages/
numpy/fft/fftpack.py", line 66, in _raw_fft
r = work_function(a, wsave)
TypeError: array cannot
l x^2 + 1 over its base field
> sage: K.base_field()
> Number Field in sqrt2 with defining polynomial x^2 - 2
> sage: K.base_field().base_field()
> Rational Field
>
> -- William
Hello William,
That seems to work great, except for the problem of computing the
hermitian conjugate of
)
/Users/rafael/ in ()
/Applications/sage-3.2/local/lib/python2.5/site-packages/sage/
structure/element.so in sage.structure.element.Matrix.__mul__ (sage/
structure/element.c:11189)()
/Applications/sage-3.2/local/lib/python2.5/site-packages/sage/
structure/coerce.so in
> I am 100% completely clueless at this point about what could be
> causing this problem. Sorry.
>
> -- William
Thanks. In view of your reply, I deleted Sage, re-booted, and then re-
installed (now in the main Applications folder, rather than in my
personal users Application folder). Now Maxima
n try to use maxima from within sage?
>
> William
>
Thank you for your reply. Alas, I know almost nothing about unix, but
I think I managed to do what you asked (please verify below!), and it
seems it did not help:
Last login: Wed Aug 20 21:18:32 on ttyp1
Rafael-Nepomechies-computer:~
7;2+2')
Timeout exceeded in read_nonblocking().
version: 2.0 ($Revision: 1.151 $)
command: /Users/rafael/Applications/sage/maxima
args: ['/Users/rafael/Applications/sage/maxima', '-p', '/Users/rafael/
Applications/sage/local/bin/sage-maxima.lisp']
patterns:
23 matches
Mail list logo