#10838: A library interface for Bernd Souvignier's code
-------------------------------+--------------------------------------------
Reporter: rlm | Owner: justin
Type: enhancement | Status: new
Priority: major | Milestone:
Component: quadratic forms | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Description changed by rlm:
Old description:
New description:
All within one process, no files written to or read from:
{{{
sage: from sage.quadratic_forms import isoautom
sage: s = """#1
... 3x0
... 2
... 0 3
... 0 0 5
... 3x0
... 5
... 0 3
... 0 0 1
... """
sage: x = isoautom.call_main_isom(['isom'], s)
sage: x
'The lattices are not isomorphic !\nDifferent numbers of short
vectors (5|2)\n'
sage: s = """#1
... 3x0
... 1
... 0 3
... 0 0 5
... 3x0
... 5
... 0 3
... 0 0 1
... """
sage: x = isoautom.call_main_isom(['isom'], s)
sage: x
'3\n 0 0 1\n 0 1 0\n 1 0 0\n'
sage: print x
3
0 0 1
0 1 0
1 0 0
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10838#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.