Matrices addition program explanation

前端 未结 0 743
北荒
北荒 2021-02-06 03:34

The following program adds two matrices together:

for(i = 0; i < m; ++i) {
  for(j = 0; j < n; ++j) {
    c[i][j] = a[i][j] + b[i][j];
  }
}
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题