#[non_exhaustive]pub struct NewtonKrylovResult {
pub x: Vec<f64>,
pub fun: Vec<f64>,
pub iterations: usize,
pub nfev: usize,
pub jacobian_products: usize,
pub converged: bool,
}Expand description
The result of newton_krylov.
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.x: Vec<f64>§fun: Vec<f64>F(x).
iterations: usizeNewton iterations, counted as SciPy’s nit (convergence tests made).
nfev: usizeEvaluations of F, including those inside the Jacobian-vector products.
jacobian_products: usizeProducts of the approximate Jacobian with a vector.
converged: boolTrait Implementations§
Source§impl Clone for NewtonKrylovResult
impl Clone for NewtonKrylovResult
Auto Trait Implementations§
impl Freeze for NewtonKrylovResult
impl RefUnwindSafe for NewtonKrylovResult
impl Send for NewtonKrylovResult
impl Sync for NewtonKrylovResult
impl Unpin for NewtonKrylovResult
impl UnsafeUnpin for NewtonKrylovResult
impl UnwindSafe for NewtonKrylovResult
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