pub struct Poly6(pub [f64; 7]);
Expand description
Rank-6 polynomal
Evaluated using manually unrolled Estin’s scheme.
Tuple Fields§
§0: [f64; 7]
Trait Implementations§
Source§impl AbsDiffEq for Poly6
impl AbsDiffEq for Poly6
Source§fn default_epsilon() -> Self::Epsilon
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
Source§fn abs_diff_eq(&self, other: &Self, eps: Self::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, eps: Self::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
Source§fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq
.Source§impl<'arbitrary> Arbitrary<'arbitrary> for Poly6
impl<'arbitrary> Arbitrary<'arbitrary> for Poly6
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl<'de> Deserialize<'de> for Poly6
impl<'de> Deserialize<'de> for Poly6
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HasDerivative for Poly6
impl HasDerivative for Poly6
type DerivativeOf = Poly5
fn derivative(&self) -> Self::DerivativeOf
Source§impl HasIntegral for Poly6
impl HasIntegral for Poly6
type IntegralOf = Poly7
fn indefinite(&self) -> Self::IntegralOf
fn integral(&self, knot: Knot) -> Self::IntegralOf
Source§impl MulAssign<f64> for Poly6
impl MulAssign<f64> for Poly6
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*=
operation. Read moreSource§impl RelativeEq for Poly6
impl RelativeEq for Poly6
Source§fn default_max_relative() -> Self::Epsilon
fn default_max_relative() -> Self::Epsilon
The default relative tolerance for testing values that are far-apart. Read more
Source§fn relative_eq(
&self,
other: &Self,
eps: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_eq( &self, other: &Self, eps: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
A test for equality that uses a relative comparison if the values are far apart.
Source§fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_ne( &self, other: &Rhs, epsilon: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
The inverse of
RelativeEq::relative_eq
.impl Copy for Poly6
impl StructuralPartialEq for Poly6
Auto Trait Implementations§
impl Freeze for Poly6
impl RefUnwindSafe for Poly6
impl Send for Poly6
impl Sync for Poly6
impl Unpin for Poly6
impl UnwindSafe for Poly6
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