Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
python3 [2016/06/16 08:52] – créée gerard | python3 [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
en étant root: | en étant root: | ||
< | < | ||
- | yum install python34 | + | yum install python34 |
- | yum install python34-numpy | + | |
- | yum install | + | |
- | yum install | + | |
- | yum install | + | |
- | yum install | + | |
- | yum install | + | |
pip install --upgrade virtualenv | pip install --upgrade virtualenv | ||
</ | </ | ||
Ligne 34: | Ligne 28: | ||
</ | </ | ||
+ | ====== Tests ====== | ||
+ | sur le code suivant | ||
+ | < | ||
+ | import timeit | ||
+ | setup = " | ||
+ | A=np.random.randn(1000, | ||
+ | b=np.random.randn(1000)" | ||
+ | count = 5 | ||
+ | t = timeit.Timer(" | ||
+ | print(" | ||
</ | </ | ||
+ | |||
+ | ^^^^^ | ||
+ | | python2.7 | blas | 60ms | ''/ | ||
+ | | python 3.4.3 | lapack | 47ms ~ | ''/ | ||
+ | | python 3.4.3 | openblas | 21ms ~ | ''/ | ||
+ | |||
+ | |||