/// Construct the residual vector from reflected vector
Construct the residual vector from reflected vector
Construct the residual vector from reflected vector
fn construct_residual<S>(&self, a: &mut ArrayBase<S, Ix1>)
    where
        S: DataMut<Elem = A>,
    {
        let k = self.len();
        azip!((a in a.slice_mut(s![..k])) *a = A::zero());
        self.backward_reflection(a);
    }
fn construct_residual < S > ( & self , a : & mut ArrayBase < S , Ix1 > ) where S : DataMut < Elem = A > , { let k = self . len ( ) ; azip ! ( ( a in a slice_mut ( s [ k ] ) ) a A zero ( ) ) ; self . backward_reflection ( a ) ; }
Construct the residual vector from reflected vector
Construct the residual vector from reflected vector
&self
a
&mut ArrayBase<S, Ix1>