Skip to main content

from_fns

Function from_fns 

Source
pub fn from_fns<T, F, G>(
    nrows: usize,
    ncols: usize,
    f: F,
    g: G,
) -> FnAdjointOperator<F, G>
where T: Real, F: FnMut(&[T], &mut [T]) -> Result<(), OperatorError>, G: FnMut(&[T], &mut [T]) -> Result<(), OperatorError>,
Expand description

FnAdjointOperator of f (y ← A x) and g (y ← Aᵀ x).