Normalize the array Z by subtracting its mean and dividing by its standard
deviation: (Z - mean) / std.
Input
[[ 0. 1. 2. 3. 4.]
[ 5. 6. 7. 8. 9.]
[10. 11. 12. 13. 14.]
[15. 16. 17. 18. 19.]
[20. 21. 22. 23. 24.]]
Output
[[-1.66410059 -1.52542554 -1.38675049 -1.24807544 -1.10940039]
[-0.97072534 -0.83205029 -0.69337525 -0.5547002 -0.41602515]
[-0.2773501 -0.13867505 0. 0.13867505 0.2773501 ]
[ 0.41602515 0.5547002 0.69337525 0.83205029 0.97072534]
[ 1.10940039 1.24807544 1.38675049 1.52542554 1.66410059]]
Sign in to write and run your own code.
solve(...)