Class Matrix.Init.Fill

  • Enclosing class:
    Matrix.Init

    public static class Matrix.Init.Fill
    extends Matrix.Init
    Init all with a number.
    • Constructor Detail

      • Fill

        public Fill​(double fNum)
        Create a new class.
        Parameters:
        fNum - the number to fill the matrix with
    • Method Detail

      • apply

        public void apply​(Matrix m)
        Description copied from class: Matrix.Init
        Apply the initialization (in place) to a new matrix.
        Specified by:
        apply in class Matrix.Init
        Parameters:
        m - the matrix