pub fn from_cols<Cols, Col>(num_rows: N, num_cols: M, cols: Cols) -> Option<Self>
        where Cols: IntoIterator<Item = Col>,
              Col: IntoIterator<Item = T>
    {
        Matrix::from_rows(num_cols, num_rows, cols).map(Matrix::transpose)
    }
/// Creates a matrix with the given columns.
///
/// Returns `None` if any of the column lengths are too short or not enough
/// columns are provided, or either of `num_rows` or `num_cols` represents
/// `0`.
Creates a matrix with the given columns.
Creates a matrix with the given columns .
pub fn from_cols<Cols, Col>(num_rows: N, num_cols: M, cols: Cols) -> Option<Self>
        where Cols: IntoIterator<Item = Col>,
              Col: IntoIterator<Item = T>
    {
        Matrix::from_rows(num_cols, num_rows, cols).map(Matrix::transpose)
    }
pub fn from_cols < Cols , Col > ( num_rows : N , num_cols : M , cols : Cols ) -> Option < Self > where Cols : IntoIterator < Item = Col > , Col : IntoIterator < Item = T > { Matrix :: from_rows ( num_cols , num_rows , cols ) . map ( Matrix :: transpose ) }
Creates a matrix with the given columns.
Creates a matrix with the given columns .
num_rows
N
num_cols
M
cols
Cols
num_rows
N
num_cols
M
cols
Cols