How do I implement this module of hyperbolic geometry commands?

asked 2015-09-25 06:04:07 +0200

j0equ1nn gravatar image

updated 2015-09-26 16:30:43 +0200

vdelecroix gravatar image

I am new to Sage. I'm trying to get around some very tedious hyperbolic geometry computations. I'm okay with defining functions and writing very basic things. I found this page indicating commands to compute a whole bunch of amazing things that I'd love to be able to use: http://doc.sagemath.org/html/en/refer...

But if I type the commands listed, Sage does not recognize them. For example, if I try to do what they say to do on that page and type

HyperbolicPlane().UHP().get_geodesic(2,3)

I get an error message that 'HyperbolicPlane' is note defined. How do I implement whatever that person did to get Sage to do all those awesome things?

edit retag flag offensive close merge delete

Comments

Hmm! What version of Sage are you using, and where (e.g. cloud, notebook, CLI)? I get your error in Sage 6.5 but it seems to be fine in 6.8.

kcrisman gravatar imagekcrisman ( 2015-09-25 09:28:45 +0200 )edit

I confirm it works for me on Sage 6.8. As @kcrisman suggested, you should provide more details.

tmonteil gravatar imagetmonteil ( 2015-09-25 14:18:12 +0200 )edit

@kcrisman That is encouraging there might be a solution. I'm trying to figure out what version I have and how to upgrade it. I'm also new to using Linux and that's what I'm running Sage from.. trying to learn more though.

j0equ1nn gravatar imagej0equ1nn ( 2015-09-27 02:53:54 +0200 )edit

Okay, turns out I have 5.8. Now I'm working on how to update it.

j0equ1nn gravatar imagej0equ1nn ( 2015-09-27 02:56:38 +0200 )edit

I'm running Linux Mint 32, and having trouble finding a version of Sage for that. Any ideas?

j0equ1nn gravatar imagej0equ1nn ( 2015-09-27 03:04:53 +0200 )edit