323 Commits

Author SHA1 Message Date
Nicolas P. Rougier
564a329151 Re-generated files 2025-08-26 11:15:53 +02:00
rougier
19dcbdd422 solutions update from 5c34811 2025-08-26 09:07:46 +00:00
Nicolas P. Rougier
5c3481111f
Merge pull request #244 from Gattocrucco/alt-sol-87
Alternative solution to exercise 87
2025-08-26 11:07:22 +02:00
rougier
2db57d0e16 solutions update from 836eab7 2025-08-26 09:07:01 +00:00
Nicolas P. Rougier
836eab7578
Merge pull request #242 from Gattocrucco/alt-sol-4
Alternative solution to exercise 4
2025-08-26 11:06:42 +02:00
rougier
521b1c0c75 solutions update from 18a5097 2025-08-26 09:06:26 +00:00
Nicolas P. Rougier
18a5097890
Merge pull request #243 from Gattocrucco/improve-sol-82
Improve solution to exercise 82
2025-08-26 11:06:02 +02:00
Gattocrucco
5b6d050a52
reset derived files to original state 2025-08-26 10:56:55 +02:00
Gattocrucco
8ea76d1f91
reset derived files to original state 2025-08-26 10:56:42 +02:00
Gattocrucco
fc72693160
reset derived files to original state 2025-08-26 10:56:10 +02:00
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
Gattocrucco
fca297a6e1
improve solution to exercise 82
The current solution uses a fixed arbitrary threshold of 1e-10 on the
singular values, I replaced it with the common heuristic n*eps*max(s).
2025-08-25 18:06:25 +02:00
Giacomo Petrillo
ed0a067b01 re-generate markdown files 2025-08-25 17:57:43 +02:00
Giacomo Petrillo
ee15dec2c7 alt solution to exercise 4
Uses nbytes instead of itemsize * size
2025-08-25 17:53:21 +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