pub struct HeightFunction {
pub name: String,
pub northcott: bool,
pub base_field: String,
}Expand description
Represents a height function on algebraic varieties.
Fields§
§name: StringName of the height function.
northcott: boolWhether the Northcott property holds (finite points of bounded height and degree).
base_field: StringLogarithmic Weil height on the base field.
Implementations§
Source§impl HeightFunction
impl HeightFunction
Sourcepub fn with_northcott(self) -> Self
pub fn with_northcott(self) -> Self
Sets Northcott property.
Sourcepub fn weil_height_rational(p: i64, q: i64) -> f64
pub fn weil_height_rational(p: i64, q: i64) -> f64
Weil height of a rational number p/q (in lowest terms): h(p/q) = log(max(|p|, |q|)).
Sourcepub fn projective_height(coords: &[i64]) -> f64
pub fn projective_height(coords: &[i64]) -> f64
Naive height of (x_0 : … : x_n) in projective space: max |x_i|.
Sourcepub fn log_height(coords: &[i64]) -> f64
pub fn log_height(coords: &[i64]) -> f64
Logarithmic height.
Sourcepub fn northcott_bound(&self, bound: f64) -> String
pub fn northcott_bound(&self, bound: f64) -> String
Checks Northcott’s theorem consequence: there are finitely many points h(P) <= B.
Trait Implementations§
Source§impl Clone for HeightFunction
impl Clone for HeightFunction
Source§fn clone(&self) -> HeightFunction
fn clone(&self) -> HeightFunction
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 HeightFunction
impl RefUnwindSafe for HeightFunction
impl Send for HeightFunction
impl Sync for HeightFunction
impl Unpin for HeightFunction
impl UnsafeUnpin for HeightFunction
impl UnwindSafe for HeightFunction
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