Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to import functions to program?

Hello, Sory for stupid question. Im new to sage and I would like to import a class/base that will allow me to use convergent() and numerator() functions. How could I do that?

I found class sage.rings.continued_fraction.ContinuedFraction_base Bases: sage.structure.sage_object.SageObject

However when trying something like import, it doesn't work ..

click to hide/show revision 2
retagged

How to import functions to program?

Hello, Sory for stupid question. Im new to sage and I would like to import a class/base that will allow me to use convergent() and numerator() functions. How could I do that?

I found class sage.rings.continued_fraction.ContinuedFraction_base Bases: sage.structure.sage_object.SageObject

However when trying something like import, it doesn't work ..