All pastes #204486 Raw Edit

Untitled

public text v1 · immutable
#204486 ·published 2006-10-16 00:17 UTC
rendered paste body
        zeromemory();

        int row=0;
        int row1=0;
        int i=0;

        for(row=0 ; row<rows ; row++){
                diskfileread(a, rows, row * rows, 0);
                for(row1=0; row1<rows; row1++){
                        diskfileread(b,rows,row1 * rows, rows);
                        for(i=0; i<rows; i++){
                                mainmem[(2 * rows) + i] += mainmem[row1] * mainmem[rows + i];
                        }
                }
                diskfilewrite(c, rows, row * rows, 2 * rows);
        }