Struct finitediff::PerturbationVector[][src]

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

Implementations

impl PerturbationVector[src]

pub fn new() -> Self[src]

Create a new empty PerturbationVector

pub fn add(self, x_idx: usize, r_idx: Vec<usize>) -> Self[src]

Add an index x_idx and the corresponding function indices r_idx

Trait Implementations

impl Clone for PerturbationVector[src]

impl Default for PerturbationVector[src]

Auto Trait Implementations

impl RefUnwindSafe for PerturbationVector

impl Send for PerturbationVector

impl Sync for PerturbationVector

impl Unpin for PerturbationVector

impl UnwindSafe for PerturbationVector

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.