pub struct AbsoluteHeight {
pub point_description: String,
pub value: f64,
}Expand description
Absolute Weil height H(P) on projective space.
Fields§
§point_description: StringDescription of the point.
value: f64The computed height value.
Implementations§
Source§impl AbsoluteHeight
impl AbsoluteHeight
Sourcepub fn of_rational(p: i64, q: u64) -> Self
pub fn of_rational(p: i64, q: u64) -> Self
Compute the absolute height of a rational number p/q in lowest terms.
H(p/q) = max(|p|, |q|) for [p:q] ∈ P^1(ℚ).
Sourcepub fn of_minimal_poly(coeffs: &[i64]) -> Self
pub fn of_minimal_poly(coeffs: &[i64]) -> Self
Height of an algebraic number from its minimal polynomial coefficients.
Trait Implementations§
Source§impl Clone for AbsoluteHeight
impl Clone for AbsoluteHeight
Source§fn clone(&self) -> AbsoluteHeight
fn clone(&self) -> AbsoluteHeight
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AbsoluteHeight
impl RefUnwindSafe for AbsoluteHeight
impl Send for AbsoluteHeight
impl Sync for AbsoluteHeight
impl Unpin for AbsoluteHeight
impl UnsafeUnpin for AbsoluteHeight
impl UnwindSafe for AbsoluteHeight
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more