#[non_exhaustive]pub struct SplrepInfo {
pub fp: f64,
pub converged: bool,
}Expand description
The result of make_splrep and make_splprep beyond the spline itself.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fp: f64The weighted sum of squared residuals Σ (wᵢ (yᵢ − g(xᵢ)))².
converged: boolWhether |fp − s| ≤ 0.001 s was reached (or the spline is the least-squares spline or
polynomial with fp ≤ s); otherwise SciPy warns and returns the last iterate.
Trait Implementations§
Source§impl Clone for SplrepInfo
impl Clone for SplrepInfo
Auto Trait Implementations§
impl Freeze for SplrepInfo
impl RefUnwindSafe for SplrepInfo
impl Send for SplrepInfo
impl Sync for SplrepInfo
impl Unpin for SplrepInfo
impl UnsafeUnpin for SplrepInfo
impl UnwindSafe for SplrepInfo
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