Dear all,
if know using the definition by Cohen implemented a little sage class
computing the reduced form in the indefinite case, because I could not
find such a function anyware. It seems to work fine. If there is some
time I try add it to the sage libary with the remark, that the
function compu
OK, I checked permgroup.py and saw the answer -- disjoint cycles
required.
sorry for the noise.
John
--
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 group
I believe that the current implementation in Sage is only designed to
work with positive definite forms; but it is also possible that this
is not checked properly.
Regarding the reduction of indefinite forms, one issue to be
considered by whoever wishes to implement reductiion (and cycles of
redu
I'm looking through the Group Theory and Sage: Primer, and I generate
an error with the example on symmetric groups (page 5 of the pdf.)
{{{
G = SymmetricGroup(5)
sigma = G("(1,3)(2,5,4)")
rho = G([(1,4), (1,5)])
rho^-1*sigma*rho
}}}
In particular, the rho assignment generates:
{{{
Traceback (m
On 12/16/10 3:16 AM, Nin wrote:
When importing line3d from a sage session with IPython as interpreter,
I've got the following error message:
>>> from sage.plot.plot3d.shapes2 import line3d
You can't import just part of Sage, since lots of Sage depends on lots
of other modules in Sage, and r
When importing line3d from a sage session with IPython as interpreter,
I've got the following error message:
>>> from sage.plot.plot3d.shapes2 import line3d
/home/nin/sage-4.6/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc
in ComplexField(prec, names)
87 if not C
Hi all,
I have an issue where I'm trying to compute hilbert symbols in pari instead
of gp due to time issues:
sage: K. = NumberField(x^5-2*x+3)
sage: P = K.prime_above(5)
sage: a = g+2
sage: b = g^3
sage: nK = K.pari_nf()
sage: na = a._pari_()
sage: nb = b._pari_()
sage: hnfP = P.pari_hnf()
sage
It must has a proble with numpy and sage integer.
Thanks Jason Grout.
2010/12/16 Jason Grout
> On 12/15/10 7:16 AM, liji.ma...@gmail.com wrote:
>
>> Hi Sage group:
>>
>> I have met a problem.
>> The code is as follow.
>>
>> import numpy as np
>> A = np.mat([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
>>