Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ludovic Mailleret
Biomaths
Commits
52d617fb
Commit
52d617fb
authored
Mar 23, 2021
by
Ludovic Mailleret
Browse files
Update simulations_python.md
parent
811e1145
Changes
1
Hide whitespace changes
Inline
Side-by-side
simulations_python.md
View file @
52d617fb
...
...
@@ -475,6 +475,9 @@ Nous utiliserons par ailleurs les méthodes `streamplot()` et `quiver()` des sys
# définition de l'échantillonnage selon $x$ et $y$
x_grid
=
np
.
linspace
(
0
,
3.0
,
10
)
# au passage on change un peu de np.arange()
y_grid
=
np
.
linspace
(
0
,
3.0
,
10
)
# grille X,Y selon x_grid et y_grid
X
,
Y
=
np
.
meshgrid
(
x_grid
,
y_grid
)
```
Puis nous calculons les valeurs des dérivées sur cette grille :
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment