pub fn new(p: ValidPrime, rows: usize, columns: usize) -> Matrix {
        let mut vectors: Vec<FpVector> = Vec::with_capacity(rows);
        for _ in 0..rows {
            vectors.push(FpVector::new(p, columns));
        }
        Matrix {
            p,
            columns,
            vectors,
            pivots: Vec::new(),
        }
    }
/// Produces a new matrix over F_p with the specified number of rows and columns, initialized
/// to the 0 matrix.
Produces a new matrix over F_p with the specified number of rows and columns, initialized
to the 0 matrix.
Produces a new matrix over F_p with the specified number of rows and columns initialized to the 0 matrix .
pub fn new(p: ValidPrime, rows: usize, columns: usize) -> Matrix {
        let mut vectors: Vec<FpVector> = Vec::with_capacity(rows);
        for _ in 0..rows {
            vectors.push(FpVector::new(p, columns));
        }
        Matrix {
            p,
            columns,
            vectors,
            pivots: Vec::new(),
        }
    }
pub fn new ( p : ValidPrime , rows : usize , columns : usize ) -> Matrix { let mut vectors : Vec < FpVector > = Vec :: with_capacity ( rows ) ; for _ in 0 .. rows { vectors . push ( FpVector :: new ( p , columns ) ) ; } Matrix { p , columns , vectors , pivots : Vec :: new ( ) , } }
Produces a new matrix over F_p with the specified number of rows and columns, initialized
to the 0 matrix.
Produces a new matrix over F_p with the specified number of rows and columns initialized to the 0 matrix .
p
ValidPrime
rows
usize
columns
usize
p
ValidPrime
rows
usize
columns
usize