fn ewise_zipmap(&self, other: &Self, f: fn(f64, f64) -> f64) -> Self {
        assert_eq!(self.dim(), other.dim());

        Matrix {
            data: ewise::zipmap(f, &self.data, &other.data),
            nrows: self.nrows,
            ncols: self.ncols,
        }
    }
/// Will panic if the dimensions of Matrices are not the same.
Will panic if the dimensions of Matrices are not the same.
Will panic if the dimensions of Matrices are not the same .
fn ewise_zipmap(&self, other: &Self, f: fn(f64, f64) -> f64) -> Self {
        assert_eq!(self.dim(), other.dim());
        Matrix {
            data: ewise::zipmap(f, &self.data, &other.data),
            nrows: self.nrows,
            ncols: self.ncols,
        }
    }
fn ewise_zipmap ( & self , other : & Self , f : fn ( f64 , f64 ) -> f64 ) -> Self { assert_eq ! ( self dim ( ) other dim ( ) ) ; Matrix { data : ewise :: zipmap ( f , & self . data , & other . data ) , nrows : self . nrows , ncols : self . ncols , } }
Will panic if the dimensions of Matrices are not the same.
Will panic if the dimensions of Matrices are not the same .
&self
other
&Self
f
fn(f64, f64) -> f64