Skip to content

Instantly share code, notes, and snippets.

@duken-blog
Last active April 2, 2020 11:23
Show Gist options
  • Select an option

  • Save duken-blog/349e5b314f2187a7a5ffb62d51f72ad8 to your computer and use it in GitHub Desktop.

Select an option

Save duken-blog/349e5b314f2187a7a5ffb62d51f72ad8 to your computer and use it in GitHub Desktop.
for (l=0; l<MR*NR; ++l) {
AB[l] = 0;
}
for (l=0; l<kc; ++l) {
for (j=0; j<NR; ++j) {
for (i=0; i<MR; ++i) {
AB[i+j*MR] += A[i]*B[j];
}
}
A += MR;
B += NR;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment