pub struct IntegerRelation {
pub coefficients: Vec<i64>,
pub basis_names: Vec<String>,
pub residual: f64,
pub is_exact: bool,
}Expand description
Result of PSLQ integer relation search
Fields§
§coefficients: Vec<i64>The integer coefficients found (not all zeros)
basis_names: Vec<String>The basis vectors that were searched
residual: f64The residual error (should be near zero if a relation exists)
is_exact: boolWhether the relation is considered exact
Implementations§
Trait Implementations§
Source§impl Clone for IntegerRelation
impl Clone for IntegerRelation
Source§fn clone(&self) -> IntegerRelation
fn clone(&self) -> IntegerRelation
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 IntegerRelation
impl RefUnwindSafe for IntegerRelation
impl Send for IntegerRelation
impl Sync for IntegerRelation
impl Unpin for IntegerRelation
impl UnsafeUnpin for IntegerRelation
impl UnwindSafe for IntegerRelation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more