[sage-support] Segmentation fault in is_squarefree

2019-03-03 Thread Rolandb
Hi, the following result is probably not intended: Sage 8.6 Windows aa=109604757131194562205071319966444535807 print is_squarefree(aa) ---SignalError Traceback (most recent call last) in ()

Re: [sage-support] Segmentation fault in is_squarefree

2019-03-03 Thread Rolandb
in (could you confirm > that you are using cygwin?). If so, you should try to reproduce the > problem without Sage by launching Python inside cygwin and then > > >>> import cypari2 > >>>

Re: [sage-support] Segmentation fault in is_squarefree

2019-03-03 Thread Rolandb
ter notebook to run > a cell with the following content > > import cypari2 > pari = cypari2.Pari() > pari(109604757131194562205071319966444535807).issquarefree() > > (I expect the very same error to occur, but it is better to double > check) > >

[sage-support] Sage Windows and @parallel often fails: why?

2019-03-14 Thread Rolandb
Hi, When using @parallel(ncpus=x) for an x which is computer dependent, I sometimes get results, but often the program stops with the error message 16: [Errno 16] Device or resource busy: '/home/sage/.sage/temp/TABLET-ROLAND/690/dir_mGwWQS/740.sobj' Why? How can I avoid this? Roland -- Y

[sage-support] help triangle_sandpile? Output correct?

2019-08-04 Thread Rolandb
Hi, help triangle_sandpile? (version 8.8, Jupyter Windows) gives the following (unexpected) output after Class docstring Is this intended? Type:LazyImportString form: File: /opt/sagemath-8.8/local/lib/python2.7/site-packages/sage/misc/lazy_import.pyxDocstring:

[sage-support] help cartesian_product?

2019-12-07 Thread Rolandb
Hi, I did not expect parts of the help text; see Class docstring: Is there a reason for it? Roland Type:LazyImportString form: The cartesian_product functorial constructionFile: /opt/sagemath-8.9/local/lib/python2.7/site-packages/sage/misc/lazy_import.pyxDocstring:

[sage-support] RuntimeWarning cypari2 leaked 6097768 bytes

2020-05-21 Thread Rolandb
Hi, Is it relevant to further investigate the background of this error message? /opt/sagemath-9.0/local/lib/python3.7/site-packages/sage/repl/ipython_kernel/__main__.py:15: RuntimeWarning: cypari2 leaked 6097768 bytes on the PARI stack If that's the case, I will report the details. Rolan

[sage-support] 6.7 ova release for VM VirtualBox

2015-05-31 Thread Rolandb
Hi, Will sage-6.7.ova be released soon? Is there some kind of policy? I noticed that *.ova files are released irregularly. Thanks, Roland -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving email

[sage-support] Problem

2008-05-21 Thread Rolandb
The following problem occured and I don't understand what the mistake is using isqrt. Please help. Thanks in advance. I use Sage 3.0.0. Roland sage: for n in range(1,10): ...print n, isqrt(n) 1 Traceback (most recent call last): File "", line 1, in File "/home/notebook/sage_notebook/work

[sage-support] Re: Problem

2008-05-22 Thread Rolandb
Tnx On 22 mei, 07:02, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > On May 21, 2008, at 21:14 , Roland van den Brink wrote: > > > > > The following problem occured and I don't understand what the > > mistake is using isqrt. Please help. Thanks in advance. > > I use Sage 3.0.0. Roland > > > sage

[sage-support] Update SAGE: sws files lost!

2008-06-29 Thread Rolandb
A huge dissatisfier for the third time .. I update VMARE (to version 2.04) and thereafter SAGE (from 3.0 to 3.0.3). This is the third time I lost all my notebook files (sws) ... How can this be avoided!! Please help, because many days of work are now 'lost'. Thanks in advance. Roland --~--~-

[sage-support] Re: Update SAGE: sws files lost!

2008-07-01 Thread Rolandb
notebook. > > > -M. Hampton > > > On Jun 29, 2:57 pm, mabshoff <[EMAIL PROTECTED] > > > dortmund.de> wrote: > > > On Jun 29, 12:52 pm, Rolandb <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > A huge dissatisfier for the thir

[sage-support] Efficient selection from a list: Is there a tric?

2008-07-02 Thread Rolandb
Suppose you want to select all possible combinations a,b,c,d to from the range [1,2,3,4] , but a,b,c,d should be unique (thus not equal). The following approach seems clumsy: for a in range(1,5): for b in range(1,5): for c in range(1,5): for d in range(1,5): if a<>b<>c<>d: print a,

[sage-support] Replace?

2008-08-19 Thread Rolandb
Hi. Look at this: vv='abc' print vv[0] vv.replace('b','n') print vv vv.replace('b','n') The answers are different!?... Roland --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAI

[sage-support] Download version 3.1.1 on http://www.sagemath.org/ ?

2008-08-20 Thread Rolandb
Hi. All download spots have only version 3.0.6...? For example http://www.sagemath.org/bin/microsoft_windows/ Roland --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECT

[sage-support] Intended or unintended recursion?

2008-08-24 Thread Rolandb
Hi. The following programme looks simple: sage: def posible_values(row,found,maxum): ...result=found ...if row==[]: row=[1] ...if result==[]: result=found=row #Recursion: intended or unintended? ...if max(row)http://groups.google.com/group/sage-support URLs: http

[sage-support] Re: Intended or unintended recursion?

2008-08-25 Thread Rolandb
f result==[]: result=found=row #Recursion: intended or unintended? ...if max(row) wrote: > This does not look recursive to me, since possible_values() does not > call itself. > > John > > 2008/8/25 Rolandb <[EMAIL PROTECTED]>: > > > > >

[sage-support] Re: Download version 3.1.1 on http://www.sagemath.org/ ?

2008-09-03 Thread Rolandb
Hi. It would be great if with release 3.1.2 a Windows version is available without too much delay. Tnx! Roland On 21 aug, 06:30, "William Stein" <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 9:26 PM, Rolandb <[EMAIL PROTECTED]> wrote: > > > Hi. All down

[sage-support] Re: problem with range, int, Integer and division in a loop

2008-09-06 Thread Rolandb
Tnx! srange does the tric. Maybe srange (instead of range) should be promoted far more for this reason! Roland On 6 sep, 00:52, "Timothy Clemans" <[EMAIL PROTECTED]> wrote: > srange gives a list of Sage integers and follows the syntax of range. > > On Fri, Sep 5, 2008 at 5:41 PM, Harald Schilly <

[sage-support] Operand % and SymbolicVariable do not match?

2008-09-06 Thread Rolandb
Hi. I want to use x%y for two variables x,y. This doesn't work as the following example shows: sage: var('x,y') sage: def proc(a,b): return a%b sage: print proc(6,3) sage: print proc(x,y) 0 Traceback (most recent call last): File "", line 1, in File "/home/notebook/sage_notebook/worksheets/

[sage-support] Re: Operand % and SymbolicVariable do not match?

2008-09-07 Thread Rolandb
> a polynomial ring: > > sage: R.=QQ[] > sage: x%y > x > sage: y%x > y > sage: def proc(a,b): return a%b > : > sage: proc(x,y) > x > sage: proc(y,x) > y > > John > > 2008/9/7 Rolandb <[EMAIL PROTECTED]>: > > > > > Hi. I

[sage-support] Re: Lost notebook worksheets after updating

2008-09-29 Thread Rolandb
Several times I indicated the same problem but until now no action. I just save my worksheets (around 30) manually and recover the *.sws files one by one in the new SAGE version. Life is hard Roland On 29 sep, 14:11, Daniel Loughran <[EMAIL PROTECTED]> wrote: > I am currently using sage on w

[sage-support] Project Euler

2008-10-26 Thread Rolandb
Hi, To learn SAGE takes a while, and good exercises are scarce. It was mentioned before, but the site http://projecteuler.net/ is interesting. The idea is to solve relatively simple mathematical problems and the level is going up slowly. For instance group operations, read/write to a file, speed a

[sage-support] 0.00 correct?

2008-12-13 Thread Rolandb
Hi, Sage: A = matrix([ [-1.0, -1.0, 0.0, 1.0], [1.0, -1.0, -1.0, -2.0] ]) Sage: A.n(2) [-1.0 -1.0 0.00 1.0] [ 1.0 -1.0 -1.0 -2.0] Roland --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] PSLQ available?

2009-01-08 Thread Rolandb
Hi, Are algorithms like PSLQ available? If yes, please give a simple example so that I fully understand the commands. Thanks in advance! Roland --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, s

[sage-support] Memory Error?

2009-01-31 Thread Rolandb
10^9]) print een+twee /// }}} If you replace 10^9 with 10^6, the above listing works properly. Maybe I made a mistake? Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: Memory Error?

2009-01-31 Thread Rolandb
Tnx! I learned useful stuff ... On 31 jan, 20:52, William Stein wrote: > On Sat, Jan 31, 2009 at 11:40 AM, William Stein wrote: > > On Sat, Jan 31, 2009 at 11:26 AM, mabshoff > > wrote: > > >> On Jan 31, 11:17 am, William Stein wrote: > >>> On Sat, J

[sage-support] numerical_sqrt?

2009-02-28 Thread Rolandb
Hi, what is the use of this function? It seems equivalent to sqrt. Roland --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more optio

[sage-support] Re: derivative

2009-02-28 Thread Rolandb
This works: f=arccos((1-x^2)/(1+x^2)) g=f.diff(x) g.simplify_full() 2*x/((x^2 + 1)*abs(x)) In general: type g. TAB and you will find all kind of handy functions. Roland On 28 feb, 10:58, Loïc wrote: > Hello > > Another problem: > I want the derivative for the function arccos((1-x^2)/(1+x^2))

[sage-support] Can not load *.sws file

2009-03-16 Thread Rolandb
Hi, I saved my notebook files to *.sws files, and I installed SAGE 3.4. However, I can not load a particular sws file. Can I send the file to somebody to have a look at it? Thanks in advance! Roland --~--~-~--~~~---~--~~ To post to this group, send email to sage-su

[sage-support] Re: Can not load *.sws file

2009-03-17 Thread Rolandb
I solved my problem via KAIST 3.2.3. Size file was 13MB, maybe that's a problem. On 17 mrt, 07:17, Rolandb wrote: > Hi, I saved my notebook files to *.sws files, and I installed SAGE > 3.4. > However,  I can not load a particular sws file. > Can I send the file to somebody to

[sage-support] SAGE notebook: worksheet not readable

2007-07-17 Thread Rolandb
Hi, I worked on a worksheet rolandtest4 (owner rolandb) but this file seems unreadable. Can somebody fix it? Thanks! --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-support] Re: SAGE notebook: worksheet not readable

2007-07-23 Thread Rolandb
Tnx! I can read it again! On 15 jul, 09:10, Rolandb <[EMAIL PROTECTED]> wrote: > Hi, I worked on a worksheet rolandtest4 (owner rolandb) but this file > seems unreadable. Can somebody fix it? Thanks! --~--~-~--~~~---~--~~ To post to this group, s

[sage-support] Sage notebook works, but extremely slow ...?

2007-07-29 Thread Rolandb
Hi, I use SAGE 2.6.17 and Firefox 2.0.0.5. Until a few days ago it worked fine on my Toshiba Terca. Now it still works, but it takes ages for Firefox to load pages so all speed has gone. I tried all kind of options as firewalls on/out, various network options et cetera, but now I'm slowly moving

[sage-support] Unexpected behavior of remove

2009-03-21 Thread Rolandb
Hi, I didn't expect that whole M would be effected. M=[[0..9]]*3 print M[0] [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] M[1].remove(9) print M [[0, 1, 2, 3, 4, 5, 6, 7, 8], [0, 1, 2, 3, 4, 5, 6, 7, 8], [0, 1, 2, 3, 4, 5, 6, 7, 8]] Rolandb --~--~-~--~~~---~--~~ To po

[sage-support] Update R to the 2.9 release with milestone Sage 4.0

2009-05-02 Thread Rolandb
Hi Ticket #3086 states "Update R to the 2.7 release and split off rpy.spkg" with milestone Sage 4.0. If possible, two requests: 1) Update R to the latest 2.9 release (now sage 3.4 uses R version 2.6.1 (2007-11-26)) 2) To use R one has to load various additional packages. For instance I use th

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-02 Thread Rolandb
many users have the same needs. If its really worthwhile, we can consider to take the next step. Roland On 2 mei, 09:30, William Stein wrote: > On Sat, May 2, 2009 at 12:26 AM, Rolandb wrote: > > > Hi > > > Ticket #3086 states "Update R to the 2.7 release and split o

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-07 Thread Rolandb
Gerhard, Thanks for your efforts! Roland On 6 mei, 16:15, gerhard wrote: > FYI: > > I upgraded R to 2.9.0 on a Fedora 10 system: > Installation of the matrix package failed (incompatible library > issues) > >

[sage-support] Operators << and >> ?

2009-05-31 Thread Rolandb
Hi, (13 << 3) equals 104, and (13 >> 3) equals 1. I could not find these operators in the documentation. Were are << and >> explained? Thank in advance! Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googleg

[sage-support] Save our Souls

2009-07-15 Thread Rolandb
like to avoid is a slow process (subroutine) that does the trick. Any ideas? Thanks in advance! Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr

[sage-support] Problem with larger sws files

2009-07-15 Thread Rolandb
, VMware (Windows). Your help is much appreciated! Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this

[sage-support] Simplify an expression

2009-07-20 Thread Rolandb
Hi, How to simplify an expression if you have some known relations (equalities)? Example: relation: 0 = a*x1^2 + b*x2^2 expression = (a*x1^2 + b*x2^2)*y1+b*y2^3 Given the relation, the expression could be simplified to b*y2^2. But how in Sage? Tnx in advance. Rolandb

[sage-support] Re: Simplify an expression

2009-07-21 Thread Rolandb
Simon, thanks! But in general there is no (Sage) algoritm to simplify expressions given some equalities? Rolandb On 21 jul, 08:05, Simon King wrote: > Hi Roland, > > On 21 Jul., 06:33, Rolandb wrote: > > > Hi, > > How to simplify an expression if you h

[sage-support] A weird exception?

2009-08-29 Thread Rolandb
+1). Profile.run shows that suddenly many functions are called which seems odd for such a simple recursive function. Why? Thanks in advance! Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: A weird exception?

2009-08-29 Thread Rolandb
ils down to: floor(log(256)/log(2))+1 which takes 'ages' to compute (Sage 4.1). print floor(ln(256)/ln(2))+1 is no improvement; floor(math.log(mx)/ math.log(g))+1 is. Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googleg

[sage-support] Re: A weird exception?

2009-08-29 Thread Rolandb
Hi, Using math.log has a disadvantage; it is less accurate. sage: print n(math.log(2),100) sage: print n(log(2),100) 0.69314718055994528622676398300 0.69314718055994530941723212146 Rolandb On 30 aug, 06:48, Robert Bradshaw wrote: > On Aug 29, 2009, at 12:44 PM, Rolandb wr

[sage-support] Re: A weird exception?

2009-09-01 Thread Rolandb
On 1 sep, 11:08, Robert Bradshaw wrote: > On Aug 29, 2009, at 11:05 PM, Rolandb wrote: > > > Hi, > > > Using math.log has a disadvantage; it is less accurate. > > > sage: print n(math.log(2),100) > > sage: print n(log(2),100)

[sage-support] Motion & planets

2009-10-12 Thread Rolandb
Hi, I'm interested in the motion of planets around the sun. Before I 'reinvent the wheel', maybe someone has made a simple model and he/she is willing to share it? Thanks in advance! Rolandb --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Remove?

2009-10-23 Thread Rolandb
Hi, print [1,2,3,4].remove(4) None I would expect [1,2,3] Rolandb --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options

[sage-support] gcd bug?

2009-11-19 Thread Rolandb
Hi. Look at: R.=QQ[] expr=(A,B) (a,b)=sorted([abs(expr[n]([2,16])) for n in [0,1]]) print a,b,a.gcd(b) I got: 2 16 1 I expected: 2 16 2 Reason? Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@g

[sage-support] SIGSEGV ERROR

2009-11-29 Thread Rolandb
Hi, Unhandled SIGSEGV: A segmentation fault occured in SAGE. This probably occured because a *compiled* component of SAGE has a bug in it (typically accessing invalid memory) or is not properly wrapped with _sig_on, _sig_off. You might w

[sage-support] Re: SIGSEGV ERROR

2009-11-30 Thread Rolandb
I located the file at https://:8000/home/pub/0 SIGSEGV with version 4.1, Windows. I did not compile it from source. No output at all with version 4.2.1 using KAIST. On 29 nov, 20:50, Burcin Erocal wrote: > Hi Roland, > > On Sun, 29 Nov 2009 11:46:00 -0800 (PST) > >

[sage-support] Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-11-30 Thread Rolandb
Hi, How serious is the following message? Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk' or one of the snapshot disks it depends on. Reason: Failed to lock the file. Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this gr

[sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-01 Thread Rolandb
Hi, Sage fails to start. Does this mean that I lost all my notebook files? That would be very sad... Thanks in advance of a solution which save my files!! Roland On 1 dec, 04:57, Rolandb wrote: > Hi, > > How serious is the following message? > > Cannot open the disk &#

[sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-01 Thread Rolandb
HOW? Roland On 1 dec, 21:57, Robert Bradshaw wrote: > I don't know much about Windows, but did you try restarting? That   > might release any stale file locks. (Don't worry, your data should   > still be there.) > > On Dec 1, 2009, at 11:00 AM, Rolandb wrote: > >

[sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-01 Thread Rolandb
Hi William, The 7zip file is 0.98 Gb, but I don't have a online place to download it to. Is there an other solution? Roland On 2 dec, 06:10, William Stein wrote: > On Mon, Nov 30, 2009 at 10:57 PM, Rolandb wrote: > > Hi, > > > How serious is the following message? >

[sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-02 Thread Rolandb
, William Stein wrote: > On Mon, Nov 30, 2009 at 10:57 PM, Rolandb wrote: > > Hi, > > > How serious is the following message? > > > Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk' > > or one of the snapshot disks it depends on. >

[sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-03 Thread Rolandb
Dear Robert, I removed the maps *.lcd: no solution. I cleaned my registry: no solution I restarted my computer: no solution . I became angry and I saved all disk*.* files, I installed Sage for Windows again and replaced the new disk*.* files with the old files Guess what: problem solved! May

[sage-support] Memory problem?

2009-12-03 Thread Rolandb
Hi, I encounterd a memory problem. The file can be found on http://www.sagenb.org/home/rolandb/3/ ( http://:/home/pub/1204 ), and is also listed below. I use version 4.1, Windows. Although it seems a simple set of lines, after two/three minutes my hard disk starts to make a lot of noise and

[sage-support] 4*A^3: How to separate the number 4?

2009-12-05 Thread Rolandb
Hi, gg=4*A^3 gg.factor() (4) * A^3 How to separate the number 4? Nor gg.dict() nor list(gg.factor()) has the number 4. Remarkable is also the output of gg.factor()/4: (4) * 4^-1 * A^3 Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

Re: [sage-support] 4*A^3: How to separate the number 4?

2009-12-05 Thread Rolandb
sen schreef: > On Sat, Dec 5, 2009 at 11:01 PM, Rolandb wrote: > > Hi, > > > > gg=4*A^3 > > gg.factor() > > (4) * A^3 > > > > How to separate the number 4?  Nor gg.dict() nor list(gg.factor()) has > > the number 4. > > gg.factor().unit() should

[sage-support] Sorted inconsistent?

2009-12-14 Thread Rolandb
Hi, consider: R.=QQ[] print sorted([(A, 3), (A - 2*B, 1)]) print sorted([(-A + 2*B, 1), (A, 3)]) Outcome not equal. Issue of Python or Sage? Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googl

[sage-support] Five minor issues & Thank You

2013-01-01 Thread Rolandb
Hi, One of the real joys of the holiday season is the opportunity to say Thank You to all Sage developers, and to wish them, users and all who are dear and near the very best for the New Year! I noted five minor issues: 1)Developer’s Guide v5.5: typo Howver, in order to do devel

[sage-support] Performance improvements over time (fyi)

2013-01-01 Thread Rolandb
Compliments to those who realized the above progress. Roland -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, s

[sage-support] Re: Performance improvements over time (fyi)

2013-01-02 Thread Rolandb
t; update the quite old benchmark website here: > http://www.sagemath.org/tour-benchmarks.html > ? > > greetings Harald > > On Tuesday, January 1, 2013 10:18:57 PM UTC+1, Rolandb wrote: >> >> >> <https://lh5.googleusercontent.com/-eUE6Ohvp6Io/UONReg0z-6I

[sage-support] Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-16 Thread Rolandb
Dear all, I suggested to a friend living in Africa (Lomé) to use Sage instead of using Excel for semi-professional work. Excel is great - I'm a big fan - but not for semi-professional work as you have to use multiple tables, sheets, not-that-easy-to-learn VBA et cetera. Sage origin is mathematic

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-17 Thread Rolandb
het volgende: > > Ahem ... > > This : > > Le jeudi 17 janvier 2013 08:35:34 UTC+1, Rolandb a écrit : >> >> [ Bandwidth savings ... ] >> > > >> Sage origin is mathematics, but over time it has become a great tool for >> normal work too

[sage-support] Bug in solve?

2013-02-24 Thread Rolandb
Hi, Using 5.7 in Windows 64, I got the following message: solution=solve([(a*x+b*y)*x*y/c==1,3*log(a + b + c) - log(27*a*b*x*y)],x,y,solution_dict=True) for sol in solution: show(sol) ;;; ;;; Detected access to protected memory, also kwown as 'bus or segmentation fault'. ;;; Jumping to the

[sage-support] Inconsistency regarding QQ and ZZ?

2013-03-17 Thread Rolandb
Hi, QQ[] is a field of rationals fractions and ZZ[] of integers. The following puzzles me: sage: R.=QQ[] sage: factor(A^d+2*A-3) Traceback (most recent call last): ... TypeError: non-integral exponents not supported sage: R.=ZZ[] sage: factor(A^d+2*A-3) Traceback (most recent call last): ... Type

[sage-support] Unsafe Math?

2013-03-31 Thread Rolandb
Hi, Why does my computer complains heavelly when I go to public worksheets? Roland -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubs

[sage-support] Math Processing Error

2013-04-08 Thread Rolandb
Hi, after a few day all cores active, I suddenly received the following message: Any idea what this means? Windows 7 64b i7-2600 @3.40 8GB Roland -- You received this message because you

[sage-support] Re: Assign to generated variable names

2013-05-11 Thread Rolandb
Hi, with numbers the problem is like thisI assume: data=zip([randint(-4, 5) for i in range(ns)],[randint(-1, 16) for i in range(ns)]) A_data=matrix(ns,ns,[map(int,A(x=s,y=t).list()) for s,t in data]) tofit=[randi

[sage-support] Cython & time in html listing

2013-05-29 Thread Rolandb
Hi, Cython has a particular method to state the time. The first line of the html listing shows: Generated by Cython 0.19 on Wed May 29 12:00:31 2013 Actually it is exactly 6 hrs later (in Europe). Any explanation? Virtualbox Sage 5.9 Roland -- You received this message because you are subscr

[sage-support] Adding Gnumeric - spreadsheet functionality to Sage

2013-06-13 Thread Rolandb
Hi, Just adding up two developments: - Sage is a serious and free Mathematical tool (with probably after the Summer releasing version 6.0 which includes many improvements since version 5 early 2012). - Gnumericis a se

[sage-support] Ellipsis suddenly appears?

2013-06-17 Thread Rolandb
Hi, why do I get *Ellipsis* here? Sage 5.9 VB Win64 Roland sage: [0.5,1.0,...,6.0] [0.500, 1.00, Ellipsis, 6.00] -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receivi

[sage-support] Re: Ellipsis suddenly appears?

2013-06-17 Thread Rolandb
Hi, thanks for the swift reply. It was already common in version 4.8. I was not aware that 1 dot extra would have such an effect. Op maandag 17 juni 2013 17:50:04 UTC+2 schreef Rolandb het volgende: > > Hi, why do I get *Ellipsis* here? Sage 5.9 VB Win64 Roland > > sage: [0.5

[sage-support] How to view the new Trac as non-developer?

2013-07-18 Thread Rolandb
Hi, Since mid 2007 I use Sage and often I look at Trac to learn about new and handy routines / tricks. But Trac has changed ( http://trac.sagemath.org/report/33) :( How can non-developers (as me) view the new Trac? Roland -- You received this message because you are subscribed to the Google

[sage-support] Re: How to view the new Trac as non-developer?

2013-07-19 Thread Rolandb
Thanks for your reply! This morning I got a error message, but now http://trac.sagemath.org/report/33 it is visible again. Op vrijdag 19 juli 2013 10:25:00 UTC+2 schreef P Purkayastha het volgende: > > On 07/19/2013 02:53 PM, Rolandb wrote: > > Hi, > > > > Since mid 2

[sage-support] Re: How to view the new Trac as non-developer?

2013-07-21 Thread Rolandb
Hi, I receive this message again today. <https://lh6.googleusercontent.com/-SzoqQCkwfuc/UewbwobzzRI/AFc/cJNk_VF_WJk/s1600/Message.PNG> Op vrijdag 19 juli 2013 15:46:07 UTC+2 schreef Rolandb het volgende: > > Thanks for your reply! This morning I got a error message, but

[sage-support] Plot is maybe too good :)

2013-11-03 Thread Rolandb
Hi, The following works, but should '==' work? var('a,b') b=5 plot(a^2-b==3,a,1,7) Roland -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+u

[sage-support] I was not expecting this ... (sqrt bug)

2013-11-29 Thread Rolandb
*File:* /home/sage/sage-5.12/devel/sage/sage/rings/integer.pyx *Type:* *Definition:* sqrt( [noargspec] ) *Docstring:* The Integer class represents arbitrary precision integers. It derives from the Element class, so integers can be used as ring elements anywhere in Sage. Integer() interpre

[sage-support] Policy regarding the output of a standard Sage function

2014-12-05 Thread Rolandb
Hi, please look at the following example. sage: print two_squares(3437458237428) Traceback (most recent call last): ... ValueError: 3437458237428 is not a sum of 2 squares The ouput is an error message. Thus if I want to test several cases, I have to check each case like: sage: for k in xrange

Re: [sage-support] Re: Policy regarding the output of a standard Sage function

2014-12-05 Thread Rolandb
> # outputs: > > [] 3437458237428 [] 3437458237427 (519651, 1779725) 3437458237426 [] > 3437458237425 [] 3437458237424 [] 3437458237423 [] 3437458237422 [] > 3437458237421 [] 3437458237420 [] 3437458237419 > > See [1] > > -- William > > [1] > https:/

[sage-support] A bug in Sympy qfbsolve?

2014-12-06 Thread Rolandb
Hi, please look at the following unexpected behavior: sage: from sympy.solvers.diophantine import * sage: w=gp.Qfb(1,0,-16).qfbsolve(17) sage: print w Traceback (most recent call last): ... TypeError: Error executing code in GP: CODE: sage[26]=Qfb(sage[23],sage[24],sage[25]); PARI/GP ERROR

[sage-support] ValueError: Unable to solve

2010-01-10 Thread Rolandb
Hi, The following message amazes me, because if an equation is unsolvable I would assume [] as output. ValueError: Unable to solve [x^3 + 3*x^2*y + 3*x*y^2 == 45487, y^3 == 549755813888] for (x, y) Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] Fast Ramanujan's tau function

2010-01-17 Thread Rolandb
, -6905934, 2727432, 10661420, -7109760] If m increases, this routine becomes is slow. Is there a fast routine (or table) for large m? Thanks in advance! Rolandb -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-suppor

[sage-support] Solve_mod: a problem?

2010-01-31 Thread Rolandb
Hi, Consider: var('a,b') print solve_mod([a^2+7*b^2==23],101) [(4, 1), (4, 100), (5, 12), (5, 89), (7, 16), (7, 85), (8, 15), (8, 86), (11, 17), (11, 84), (14, 29), (14, 72), (15, 0), (18, 19), (18, 82), (19, 46), (19, 55), (20, 50), (20, 51), (22, 8), (22, 93), (24, 27), (24, 74), (29, 35), (29,

[sage-support] Re: Solve_mod: a problem?

2010-01-31 Thread Rolandb
uctural manner? For instance, I have many worksheet with fixed outcomes. I assume many others have too. Not a big deal to run these worksheets as a check just after downloading a new release. A small (time) offer for a great community Interested? Roland On 1 feb, 00:43, William Stein wrote:

[sage-support] Solving a^2+n*b^2

2010-02-07 Thread Rolandb
Hi, Consider Euler’s famous expression x=a^2+n*b^2. I want to solve a and b, given x and n. Because solve_mod is totally broken, I tried to develop a clever method myself. Counterintuitively, I found that the most simple brute force method in SAGE is relatively fast. def bruteforce(number,n):

[sage-support] Re: Solving a^2+n*b^2

2010-02-07 Thread Rolandb
Thanks William, Actually I try to solve it for different x and n. A typical example of (x,n) is: %time bruteforce(7^10*29^5,973) [(3899224, 2437015)] CPU time: 25.88 s, Wall time: 26.12 s Roland On 7 feb, 22:29, William Stein wrote: > On Sun, Feb 7, 2010 at 12:35 PM, Rolandb wrote: >

[sage-support] Re: Solving a^2+n*b^2

2010-02-09 Thread Rolandb
Alasdair, Thanks! On 9 feb, 11:54, Alasdair wrote: > Do a google search on "Cornacchia's algorithm".  Shouldn't be too hard > to program in Sage (if it isn't there already). > > Alasdair > > On Feb 8, 4:07 pm, Rolandb wrote: > > > Thanks Willi

[sage-support] Problem with Virtualbox

2010-02-19 Thread Rolandb
Hi, I downloaded sage-virtualbox-4.3.zip, and installation went well. However, the second time I tried to use Virtualbox, I got the message "Configuring network ...". And now Firefox 3.5.8 can not find http:\ \192.168.56.101 What to do? Thanks in advance for a swift response! Roland -- To post t

[sage-support] How to use BPTJCubes.c from Flint?

2010-02-20 Thread Rolandb
Hi, Could someone please indicate how I can use (for instance) the routine BPTJCubes.c from the standard package Flint? Thanks in advance! Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegr

[sage-support] Small bug?

2010-04-06 Thread Rolandb
Hi, using SAGE 4.1: %timeit('for k in xrange(2,10): factor(3+10^k)') 625 loops, best of 3: 1.08 ms per loop Traceback (most recent call last): File "", line 1, in File "/home/notebook/sage_notebook/worksheets/admin/18/code/65.py", line 6, in print _support_.syseval(timeit('for k in xran

[sage-support] Some experiences

2010-04-06 Thread Rolandb
Hi, some experiences. I moved from Vista 32 to Windows 7 64 during Easter. I have a Q6700 PC. Three issues are maybe of general interest. 1) Virtualbox 4.3.4: A clumsy environment so I switched back to (the new) VMware player 3.01 and (the old) Sage 4.1. Now I was positively surprised how cool S

[sage-support] Some leakage?

2010-04-24 Thread Rolandb
Hi, consider the following: timeit('factor(3^89-1, proof=False)') timeit('factor(3^89-1,proof=True)') timeit('factor(3^89-1, proof=False)') timeit('factor(3^89-1,proof=True)') 5 loops, best of 3: 188 ms per loop 5 loops, best of 3: 195 ms per loop 5 loops, best of 3: 194 ms per loop 5 loops, best

[sage-support] Re: Notebook running very slowly

2010-04-28 Thread Rolandb
Hi William, Sage 4.4. is out. What file do I have to download in order to use it with Vmware player 3.01 and Windows 7 64b? Currently I use Sage 4.1 Thank in advance for your swift reply. Roland On 27 apr, 07:04, William Stein wrote: > On Fri, Apr 16, 2010 at 3:01 AM, NCP > wrote: > > Hi

[sage-support] Re: Test if a variable is numerical

2010-05-07 Thread Rolandb
Hi, Maybe this helps: a=[1,2.3] print isinstance(a,list) True a=67 print isinstance(a,Integer) True Roland On 7 mei, 23:49, Nathann Cohen wrote: > Thank you !!! :-) > > Would there be any way to do the same thing without having to import > RR in all of my functions, though ? It's really mainl

[sage-support] Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Rolandb
Hi, The site http://abcathome.com/data/ has a link the file triples_sofar.gz, a database with ABC triples. I would like to use the file within Sage. The link is http://abcathome.com/data/triples_sofar.gz The size is around 162Mb; unpacked around 400Mb. Via F = get_remote_file("http://abcathome.co

[sage-support] Re: Loading ABC triples: How to read *.gz files?

2010-05-24 Thread Rolandb
wrote: > On Mon, May 24, 2010 at 12:03 AM, Rolandb wrote: > > Hi, > > The sitehttp://abcathome.com/data/has a link the file > > triples_sofar.gz, a database with ABC triples. I would like to use the > > file within Sage. > > The link ishttp://abcathome.com/

  1   2   >