Introduction - If you have any usage issues, please Google them yourself
Topic: for a 3* 3 diagonal matrix elements combined
1. The program analysis: use double for cycle control input a 2 d array, again will be a [I] [I] after accumulation output.
2. The source code: