Anthony Duong

Results 4 issues of Anthony Duong

I think ``` rng = np.random.default_rng() x = rng.random((3, 3, 3)) ``` would be better than https://github.com/rougier/numpy-100/blob/916e1ecf9544719b49ece6fc135b089988b33058/100_Numpy_exercises_with_hints_with_solutions.md#L96 because [the documentation](https://numpy.org/doc/stable/reference/random/legacy.html) says "[[RandomState](https://numpy.org/doc/stable/reference/random/legacy.html#numpy.random.RandomState)] should only be used if it is essential...

I think ``` print(np.sort(Z)[-n:]) ``` or ``` Z.sort() print(Z[-n:]) ``` would be better than https://github.com/rougier/numpy-100/blob/916e1ecf9544719b49ece6fc135b089988b33058/100_Numpy_exercises_with_hints_with_solutions.md#L1084 because the first solution is simpler, and if it's ok to modify the array in...

I think `Z = np.matmul(np.ones((5, 3)), np.ones((3, 2)))` would be better than https://github.com/rougier/numpy-100/blob/916e1ecf9544719b49ece6fc135b089988b33058/100_Numpy_exercises_with_hints_with_solutions.md?plain=1#L205 because [the docs](https://numpy.org/doc/stable/reference/generated/numpy.dot.html) say "If both a and b are 2-D arrays, it is matrix multiplication, but...