pub enum Coeffs {
RatFunc([f64; 6]),
Linear([f64; 2]),
None,
}Expand description
The COMPU_METHOD coefficient forms.
Variants§
RatFunc([f64; 6])
COEFFS a b c d e f — rational conversion
f(x) = (a·x² + b·x + c) / (d·x² + e·x + f).
Linear([f64; 2])
COEFFS_LINEAR a b — linear conversion f(x) = a·x + b.
None
No coefficients present (TABLE via COMPU_TAB_REF, IDENTITY, or
an abbreviated method).
Trait Implementations§
impl Copy for Coeffs
impl StructuralPartialEq for Coeffs
Auto Trait Implementations§
impl Freeze for Coeffs
impl RefUnwindSafe for Coeffs
impl Send for Coeffs
impl Sync for Coeffs
impl Unpin for Coeffs
impl UnsafeUnpin for Coeffs
impl UnwindSafe for Coeffs
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