Macaulay2 » Documentation
Packages » Macaulay2Doc » analytic functions » sqrt
next | previous | forward | backward | up | index | toc

sqrt -- square root function

Description

i1 : sqrt 2p200

o1 = 1.41421356237309504880168872420969807856967187537694807317668

o1 : RR (of precision 200)
i2 : sqrt (+ii)

o2 = .7071067811865476+.7071067811865475*ii

o2 : CC (of precision 53)

Ways to use sqrt:

  • sqrt(CC)
  • sqrt(RR)
  • sqrt(RRi)

For the programmer

The object sqrt is a method function.


The source of this document is in Macaulay2Doc/operators.m2:109:0.