On Dec 14, 10:31 pm, mb <[EMAIL PROTECTED]> wrote:
> Hello,
>
> The following code produces error
>
> var('a b c d e f g')
> V=[a,b,c,d,e,f,g]
> M=matrix(SR,7,7,[[z^i for i in range(7)] for z in V])
> print det(M)
>
> Is that because output is too large? If 7 is replaced by 6 everything
> is fine.
>
> --mb

Hi mb,

which Sage version are you running? With 2.8.15 as well as 2.9.alpha7
I get on 64 bit Linux:

[EMAIL PROTECTED]:/tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.rc0$ ./
sage
----------------------------------------------------------------------
| SAGE Version 2.9.alpha7, Release Date: 2007-12-13                  |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: var('a b c d e f g')
(a, b, c, d, e, f, g)
sage: V=[a,b,c,d,e,f,g]
sage: M=matrix(SR,7,7,[[z^i for i in range(7)] for z in V])
sage: d=det(M)

----------------------------------------------------------------------
| SAGE Version 2.8.15, Release Date: 2007-12-03                      |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: var('a b c d e f g')
(a, b, c, d, e, f, g)
sage: V=[a,b,c,d,e,f,g]
sage: M=matrix(SR,7,7,[[z^i for i in range(7)] for z in V])
sage: d=det(M)

printing d works in both cases.

if it still fails with 2.8.15 we need to know a little bit more about
your system, i.e. amount of RAM, gcc -v output and so on.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to