# Interface to the free online MAGMA calculator¶

class sage.interfaces.magma_free.MagmaExpr

Bases: str

class sage.interfaces.magma_free.MagmaFree

Bases: object

Evaluate MAGMA code without requiring that MAGMA be installed on your computer by using the free online MAGMA calculator.

EXAMPLES:

sage: magma_free("Factorization(9290348092384)")  # optional - internet
[ <2, 5>, <290323377887, 1> ]

eval(x, **kwds)
sage.interfaces.magma_free.magma_free_eval(code, strip=True, columns=0)

Use the free online MAGMA calculator to evaluate the given input code and return the answer as a string.

LIMITATIONS: The code must evaluate in at most 20 seconds and there is a limitation on the amount of RAM.

EXAMPLES:

sage: magma_free("Factorization(9290348092384)")  # optional - internet
[ <2, 5>, <290323377887, 1> ]