src/utils/matrix/ComputableMatrix.java
public void initializeToValue(double value) {
        int rows = getRows();
        int columns = getColumns();
        for (int row = 0; row < rows; row++) {
            for (int col = 0; col < columns; col++) {
                setValue(row, col, value);
            }
        }
    }
/**
     * Initializes matrix with given value.
     *
     * @param value initialization value.
     */
Initializes matrix with given value.

@param value initialization value.
Initializes matrix with given value . @param value initialization value .
public void initializeToValue(double value) {
        int rows = getRows();
        int columns = getColumns();
        for (int row = 0; row < rows; row++) {
            for (int col = 0; col < columns; col++) {
                setValue(row, col, value);
            }
        }
    }
public void initializeToValue ( double value ) { int rows = getRows ( ) ; int columns = getColumns ( ) ; for ( int row = 0 ; row < rows ; row ++ ) { for ( int col = 0 ; col < columns ; col ++ ) { setValue ( row , col , value ) ; } } }
Initializes matrix with given value.
Initializes matrix with given value .