Gattocrucco
301e0eb61e
further simplification to the alt solution of 87
...
The initial formulation contained a redundant `swapaxes`.
2025-08-26 00:16:34 +02:00
Gattocrucco
59a403da66
alternative solution to exercise 87
...
Added a more elegant (but more cryptic) solution with reshape and
swapaxes.
Removed one of the existing alternative solutions because it was a
duplicate of a previous alternative solution.
2025-08-25 18:13:30 +02:00
Nicolas P. Rougier
9be9c8cd23
Merge pull request #241 from Hemanth21k/typo_fix
...
Typo fix for header
2025-07-31 10:27:11 +02:00
Hemanth
7022d36e7a
Merge branch 'rougier:master' into typo_fix
2025-07-30 19:00:32 +00:00
Hemanth21k
6bcb01086d
fixed typo
2025-07-30 18:58:38 +00:00
rougier
7bd00d196d
solutions update from 2bd3a6d
2025-07-28 09:28:51 +00:00
Nicolas P. Rougier
2bd3a6dcf7
Merge pull request #235 from Hemanth21k/q78_edit
...
Q.78 solution explained with reference
2025-07-28 11:28:29 +02:00
Hemanth
93a34b49b1
Merge branch 'rougier:master' into q78_edit
2025-07-26 23:14:22 +00:00
Hemanth21k
44df2b0d3c
simplified answer.78
2025-07-26 23:10:48 +00:00
Hemanth21k
dbb54197e8
q78 explained
2025-07-23 21:52:39 +00:00
rougier
e26c40eff1
solutions update from 1bea088
2025-07-10 09:21:37 +00:00
Nicolas P. Rougier
1bea08864a
Merge pull request #236 from Hemanth21k/issue_215_fix
...
issue 215 fix
2025-07-10 11:21:12 +02:00
Hemanth21k
f7851655d7
issue 215 fix
2025-07-07 17:43:13 +00:00
Hemanth21k
3d136da45b
Q.78 solution expalined
2025-07-07 17:28:47 +00:00
Nicolas P. Rougier
2b81a8eb25
Merge pull request #233 from KnightSnape/master
...
Use default_rng() instead of np.random.random in Exercise #12
2025-05-09 09:35:58 +02:00
KnightSnape
1060e673e0
update Q12 another method
2025-05-09 15:19:16 +08:00
rougier
6b8d5bcc14
solutions update from 00b93cb
2025-04-09 14:23:04 +00:00
Nicolas P. Rougier
00b93cbb23
Merge pull request #231 from Emmet-Ray/Emmet-Ray-fixed-typos
...
fixed typos
2025-04-09 16:22:39 +02:00
Emmet-Ray
125ae6022f
fixed typos
...
q42: array -> arrays
q48: value -> values
q53: integer -> integer array
q71: mulitply -> multiply
q80: extract -> extracts
q90: combinations -> combination
2025-04-09 16:21:14 +08:00
Nicolas P. Rougier
814f08ea8c
Merge pull request #230 from yangwu1227/generator-workflow
...
feat: generator workflow post-merge
2025-02-19 21:35:29 +01:00
YangWu1227
8077a2ef30
chore: update requirements
2025-02-19 15:20:29 -05:00
YangWu1227
25afa60e10
feat: generator workflow post-merge
2025-02-19 15:18:58 -05:00
Nicolas P. Rougier
af8d83ac89
Update generated files
2025-02-18 08:13:08 +01:00
Nicolas P. Rougier
58ed6a9a86
Merge pull request #229 from yangwu1227/broadcast-solution-exercise-79
...
broadcasting solution exercise 79
2025-02-18 08:08:17 +01:00
YangWu1227
adf896fa7c
feat: broadcasting solution exercise 79
2025-02-17 17:10:33 -05:00
Nicolas P. Rougier
4090dc6c5f
Merge pull request #220 from anthonyduong9/solve-exercise-24
...
solves exercise 24
2025-01-06 13:33:26 +01:00
anthonyduong
efb6e2e192
solves exercise 24
2024-10-22 22:30:16 -07:00
Nicolas P. Rougier
916e1ecf95
Merge pull request #207 from xofbd/specify-python-version
...
Specify Python version 3.7 to ensure build
2023-12-13 14:23:52 +01:00
Don Fox
0e24ef0013
Specify Python version 3.7 to ensure build
2023-12-03 20:42:32 -05:00
Nicolas P. Rougier
4b759efce8
Regenerate all the files
2023-04-03 09:26:02 +02:00
Nicolas P. Rougier
a4ac12cdc6
Merge pull request #196 from jeremy-feng/master
...
Fixed a typo
2023-04-03 09:24:11 +02:00
jeremy-feng
683f473a6f
Fixed a typo
2023-03-18 15:20:15 +08:00
Nicolas P. Rougier
dc425d7872
Merge pull request #190 from Stefan-Heimersheim/master
...
Remove incorrect alternative solution q19
2022-12-05 18:41:02 +01:00
Stefan Heimersheim
9182fdc110
Remove incorrect alternative solution q19
...
The reshape-based solution for q19 did only work for odd numbered squares, not even ones such as 8x8 squares.
2022-11-29 14:29:35 +00:00
Nicolas P. Rougier
e83ba5f309
Fixed generators (see https://github.com/didix21/mdutils/issues/69 )
2022-10-17 13:43:14 +02:00
Nicolas P. Rougier
9357b79e1d
Merge pull request #189 from HenryJi529/master
...
Add alternative solution for Q.19
2022-10-17 13:38:53 +02:00
Henry Ji
fccab23c7e
Add alternative solution for Q.19
2022-10-10 20:58:25 +08:00
Nicolas P. Rougier
4c45b35878
Merge pull request #177 from RoyiAvital/patch-1
...
Update README.md
2022-04-10 12:51:45 +02:00
Royi
ed48a838ce
Update README.md
2022-04-09 23:37:19 +03:00
Royi
8366787686
Update README.md
...
Added links to variants in other languages.
2022-04-09 15:41:04 +03:00
Nicolas P. Rougier
566f976568
Merge pull request #176 from lots-o/fix
...
Modify typo Q.63
2022-04-02 16:55:14 +02:00
lots-o
7a0974c68f
Modify typo Q.63
2022-03-31 22:55:05 +09:00
Nicolas P. Rougier
de9b990b1f
Merge pull request #175 from lots-o/fix
...
Add alternative solution of Q.60
2022-03-31 14:22:15 +02:00
lots-o
23f872b229
Add alternative solution of Q.60
2022-03-30 22:19:36 +09:00
Nicolas P. Rougier
2cdb74caa6
Updated generated files
2022-01-31 19:14:41 +01:00
Nicolas P. Rougier
a497e655a8
Merge pull request #169 from mgoloshchapov/patch-3
...
Update 100_Numpy_exercises_with_solutions.md
2022-01-31 19:03:50 +01:00
Mikhail Goloshchapov
49e70fbc00
Update 100_Numpy_exercises_with_solutions.md
...
Replaced np.array([[0,1],[1,0]]) with np.eye(2) in Task #21
2022-01-29 17:18:40 +03:00
Nicolas P. Rougier
9802377336
Merge pull request #165 from Jeff1999/master
...
Update Q.75, 76, 81, 84, 85, 87
2022-01-03 10:26:04 +01:00
Jeff1999
e72a3d9f35
Update Q.75, 76, 81, 84, 85, 87
...
Update alternative solutions with sliding_window_view (NumPy >= 1.20.0).
2021-12-17 16:41:42 +08:00
Nicolas P. Rougier
3597f1191c
Merge pull request #155 from Jeff1999/master
...
alternative solution for Q.82
2021-07-27 07:48:55 +02:00