Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révisionLes deux révisions suivantes | ||
teaching:methcalchim:system_of_linear_equations [2017/09/28 10:34] – villersd | teaching:methcalchim:system_of_linear_equations [2017/09/28 10:39] – villersd | ||
---|---|---|---|
Ligne 11: | Ligne 11: | ||
* Hint : in Python, use the timeit module | * Hint : in Python, use the timeit module | ||
- | ===== Applications | + | ===== Exercices and applications |
+ | * Exercices : | ||
+ | * write a python function for diagonalisation with partial pivoting | ||
+ | * random numbers → linear systems | ||
+ | * comparison with numpy standard library | ||
+ | * measurements of execution time to check cubic complexity | ||
==== 1D problems with neigbours ==== | ==== 1D problems with neigbours ==== | ||
* Thermal diffusion and chemical diffusion (transient or stationary) on a regular 1D space with equidistant steps. ODE equations can be writen such a given evolution equation for node # i only imlies nodes i+1 and i-1 | * Thermal diffusion and chemical diffusion (transient or stationary) on a regular 1D space with equidistant steps. ODE equations can be writen such a given evolution equation for node # i only imlies nodes i+1 and i-1 | ||
- | * Using Thomas algorithm allows to save computational time thanks to n complexity | + | * Using [[wp> |
+ | * ? Python libraty with Thomas algorithm | ||
===== References : ===== | ===== References : ===== |