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

@param initializer initializer operation.
Initializes matrix with given initializer operation . @param initializer initializer operation .
public void initialize(Matrix.Initializer initializer) {
        int rows = getRows();
        int columns = getColumns();
        for (int row = 0; row < rows; row++) {
            for (int col = 0; col < columns; col++) {
                setValue(row, col, initializer.value(row, col));
            }
        }
    }
public void initialize ( Matrix . Initializer initializer ) { int rows = getRows ( ) ; int columns = getColumns ( ) ; for ( int row = 0 ; row < rows ; row ++ ) { for ( int col = 0 ; col < columns ; col ++ ) { setValue ( row , col , initializer . value ( row , col ) ) ; } } }
Initializes matrix with given initializer operation.
Initializes matrix with given initializer operation .