ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 24 Dec 2018 17:29:23 +0100Computing heights of large degree algebraic numbershttps://ask.sagemath.org/question/44772/computing-heights-of-large-degree-algebraic-numbers/I have an irreducible polynomial of large degree (I would like to go up to degree ~1000), and I would like to compute the height of its roots. Currently I am doing this:
def irreducible_root_height(f):
K.<y> = NumberField(f)
h = y.global_height()
return h
This is rather slow because I have to construct the number field. Is there a way to find the height without constructing the number field?
I tried to use the functionality with general algebraic numbers, but there doesn't seem to be a way to define an arbitrary root of a polynomial in QQbar. It also looks like computing the height of something in QQbar works by computing a number field, so this wouldn't be any faster.vukovMon, 24 Dec 2018 17:29:23 +0100https://ask.sagemath.org/question/44772/what meanings about global_height of AffineSpace'pointhttps://ask.sagemath.org/question/24544/what-meanings-about-global_height-of-affinespacepoint/ P.<x,y>=AffineSpace(QQ,2)
Q=P(41,1/12)
Q.global_height()cjshTue, 21 Oct 2014 12:26:18 +0200https://ask.sagemath.org/question/24544/