pub fn col_view(&self) -> CsMatVecView_<N, I> {
        // Safe because we're taking a view into a vector that has
        // necessarily been checked
        let indptr = Array2 {
            data: [I::zero(), I::from_usize(self.indices.len())],
        };
        CsMatBase {
            storage: CSC,
            nrows: self.dim,
            ncols: 1,
            indptr: indptr,
            indices: &self.indices[..],
            data: &self.data[..],
        }
    }
/// View this vector as a matrix with only one column.
View this vector as a matrix with only one column.
View this vector as a matrix with only one column .
pub fn col_view(&self) -> CsMatVecView_<N, I> {
        // Safe because we're taking a view into a vector that has
        // necessarily been checked
        let indptr = Array2 {
            data: [I::zero(), I::from_usize(self.indices.len())],
        };
        CsMatBase {
            storage: CSC,
            nrows: self.dim,
            ncols: 1,
            indptr: indptr,
            indices: &self.indices[..],
            data: &self.data[..],
        }
    }
pub fn col_view ( & self ) -> CsMatVecView_ < N , I > { // Safe because we're taking a view into a vector that has // necessarily been checked let indptr = Array2 { data : [ I :: zero ( ) , I :: from_usize ( self . indices . len ( ) ) ] , } ; CsMatBase { storage : CSC , nrows : self . dim , ncols : 1 , indptr : indptr , indices : & self . indices [ .. ] , data : & self . data [ .. ] , } }
View this vector as a matrix with only one column.
View this vector as a matrix with only one column .
&self
&self