Ask Your Question
0

Elliptic Curve Rational Field Height CODE

asked 2013-03-17 14:14:07 +0200

anonymous user

Anonymous

Hi, I would like to know what does the function R() in lines 5060,5061 etc do. This is the code that I'm looking at:

http://hg.sagemath.org/sage-main/file...

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-03-17 16:09:58 +0200

fidbc gravatar image

There R represents the field of real numbers with given precision. It is just used for conversion. You can try it with the following example

sage: R=RealField()
sage: 1
1
sage: type(1)
sage.rings.integer.Integer
sage: R(1)
1.00000000000000
sage: type(R(1))
sage.rings.real_mpfr.RealNumber
edit flag offensive delete link more

Comments

I see. Thank you very much for the help!

Blackadder gravatar imageBlackadder ( 2013-03-18 12:36:54 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-17 14:14:07 +0200

Seen: 332 times

Last updated: Mar 17 '13