pub struct FnOperator<F: Fn(&[f64]) -> Vec<f64>, G: Fn(&[f64]) -> Vec<f64>> {
pub shape: (usize, usize),
pub matvec: F,
pub rmatvec: G,
}Expand description
A linear operator defined by closures.
Fields§
§shape: (usize, usize)§matvec: F§rmatvec: GTrait Implementations§
Auto Trait Implementations§
impl<F, G> Freeze for FnOperator<F, G>
impl<F, G> RefUnwindSafe for FnOperator<F, G>where
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<F, G> Send for FnOperator<F, G>
impl<F, G> Sync for FnOperator<F, G>
impl<F, G> Unpin for FnOperator<F, G>
impl<F, G> UnsafeUnpin for FnOperator<F, G>where
F: UnsafeUnpin,
G: UnsafeUnpin,
impl<F, G> UnwindSafe for FnOperator<F, G>where
F: UnwindSafe,
G: UnwindSafe,
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