[]Struct argmin::prelude::finitediff::PerturbationVector

pub struct PerturbationVector {
    pub x_idx: Vec<usize>,
    pub r_idx: Vec<Vec<usize>>,
}

Perturbation Vector for the accelerated computation of the Jacobian.

Fields

x_idx: Vec<usize>

x indices

r_idx: Vec<Vec<usize>>

correspoding function indices

Methods

impl PerturbationVector

pub fn new() -> PerturbationVector

Create a new empty PerturbationVector

pub fn add(self, x_idx: usize, r_idx: Vec<usize>) -> PerturbationVector

Add an index x_idx and the corresponding function indices r_idx

Trait Implementations

impl Clone for PerturbationVector

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for PerturbationVector

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized