10. Write a JavaScript function which returns the n rows by n columns identity matrix. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

10. Write a JavaScript function which returns the n rows by n columns identity matrix.

10. Write a JavaScript function which returns the n rows by n columns identity matrix.

14th Dec 2016, 5:57 PM
Mohameddd Alanzy
Mohameddd Alanzy - avatar
2 Answers
0
This looks like an assignment and, if so, it would be more worthwhile to try to come up with the solution yourself.
6th Feb 2017, 10:08 PM
Ronnell Evans
Ronnell Evans - avatar
- 1
10. Write a JavaScript function which returns the n rows by n columns identity matrix.
14th Dec 2016, 10:57 PM
Mohameddd Alanzy
Mohameddd Alanzy - avatar