Function filled_matrix

Source
pub fn filled_matrix<V: Vector<Scalar = f32>, MatrixLike: Matrix<V> + Default>(
    rows: usize,
    columns: usize,
    value: V::Scalar,
) -> MatrixLike
Expand description

Creates a new matrix with the given number of rows and columns, and fills it with the given value.