pub struct LogarithmicHeight {
pub absolute: AbsoluteHeight,
}Expand description
Logarithmic (Weil) height h(P) = log H(P).
Fields§
§absolute: AbsoluteHeightThe absolute height.
Implementations§
Source§impl LogarithmicHeight
impl LogarithmicHeight
Sourcepub fn from_absolute(h: AbsoluteHeight) -> Self
pub fn from_absolute(h: AbsoluteHeight) -> Self
Create from an absolute height.
Sourcepub fn of_rational(p: i64, q: u64) -> Self
pub fn of_rational(p: i64, q: u64) -> Self
Compute h(p/q) = log max(|p|, |q|) for [p:q] ∈ P^1(ℚ).
Trait Implementations§
Source§impl Clone for LogarithmicHeight
impl Clone for LogarithmicHeight
Source§fn clone(&self) -> LogarithmicHeight
fn clone(&self) -> LogarithmicHeight
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 LogarithmicHeight
impl RefUnwindSafe for LogarithmicHeight
impl Send for LogarithmicHeight
impl Sync for LogarithmicHeight
impl Unpin for LogarithmicHeight
impl UnsafeUnpin for LogarithmicHeight
impl UnwindSafe for LogarithmicHeight
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