[sage-support] bug column_space for IntegerModRing matrices with Sagemath9.6

2023-03-15 Thread Rafael Robles
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

[sage-support] matrix log?

2014-10-21 Thread Rafael
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

[sage-support] Problem with incomplete Gamma function and Maxima?

2014-08-08 Thread Rafael Greenblatt
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

[sage-support] Re: Sage 5.10 released

2013-06-20 Thread Rafael
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

[sage-support] Re: Jacobi sn

2012-09-20 Thread Rafael
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

[sage-support] Jacobi sn

2012-09-15 Thread Rafael
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

[sage-support] Re: java plugin for JMOL

2012-08-13 Thread Rafael
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

[sage-support] Re: Concise way of filtering elements of a permutation group

2010-10-02 Thread Rafael
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(

[sage-support] Concise way of filtering elements of a permutation group

2010-10-01 Thread Rafael
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

[sage-support] Trying to create a simple Cayley graph

2010-10-01 Thread Rafael
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),

[sage-support] Unexpected behaviour with symbolic complex numbers

2010-01-17 Thread Rafael Fourquet
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

[sage-support] Re: Please comment this code on simplicial complexes

2009-08-24 Thread Rafael Villarroel
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_

[sage-support] Please comment this code on simplicial complexes

2009-08-10 Thread Rafael Villarroel
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(

[sage-support] Re: pylab.plot error

2009-08-07 Thread Rafael Cardoso Dias Costa
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/

[sage-support] pylab.plot error

2009-08-07 Thread Rafael Cardoso Dias Costa
/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'

[sage-support] Re: Similar comand "clear all" Matlab

2009-08-07 Thread Rafael Cardoso Dias Costa
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

[sage-support] Similar comand "clear all" Matlab

2009-08-07 Thread Rafael Cardoso Dias Costa
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

[sage-support] Is preparse the problem? Sage not compute FFT

2009-07-25 Thread Rafael Costa
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

[sage-support] Re: First use of SAGE, eigen* and maxima compute time

2008-12-06 Thread Rafael
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

[sage-support] convert sequence to vector?

2008-12-05 Thread Rafael
) /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

[sage-support] Re: Unable to start Maxima within Sage

2008-08-21 Thread Rafael
> 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

[sage-support] Re: Unable to start Maxima within Sage

2008-08-20 Thread Rafael
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:~

[sage-support] Unable to start Maxima within Sage

2008-08-20 Thread Rafael
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: