Search:

Type: Posts; User: Mr.777

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    2,264

    Re: Loop ordering in matrix multiplication

    If you will talk about Matrix multiplication, yes, it does matter. Coz
    123
    456
    789

    and

    987
    654
    321
  2. Replies
    3
    Views
    2,264

    Re: Loop ordering in matrix multiplication

    Let's have an example.


    int arr[][] = new int[10][5];
    for(int i =0;i<10;i++){
    for(int j=0;j<5;j++){
    arr[i][j]=(i*j);
    }
    }
Results 1 to 2 of 2