Importing a dual pair of algebras from a file¶
Import a dual pair of algebras from a file.
- dual_pairs.dual_pair_import.dual_pair_import(filename)¶
Import a dual pair of algebras from
filename
.INPUT:
filename
– string: name of either a regular file or a resource of thedual_pairs
package.
EXAMPLES:
sage: from dual_pairs.dual_pair_import import dual_pair_import sage: dual_pair_import('example_data/D4_mod_3.gp') Dual pair of algebras over Rational Field A = Finite flat algebra of degree 9 over Rational Field, product of: Number Field in a0 with defining polynomial t Number Field in a1 with defining polynomial t^4 + t^2 - 3 Number Field in a2 with defining polynomial t^4 - 7*t^2 + 13 B = Finite flat algebra of degree 9 over Rational Field, product of: Number Field in a0 with defining polynomial t Number Field in a1 with defining polynomial t^4 + t^2 - 3 Number Field in a2 with defining polynomial t^4 - 7*t^2 + 13
Todo
Document accepted file formats.