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évision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
python3 [2016/06/16 11:03] – gerard | python3 [2016/06/17 11:25] – gerard | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
en étant root: | en étant root: | ||
< | < | ||
- | yum install python34 python34-numexpr python34-scipy python-lxml python34-toolz python34-six python34-setuptools python34-py python34-numpy-f2py python-virtualenvwrapper python-pip libxml2-devel libxslt-devel | + | yum install python34 |
pip install --upgrade virtualenv | pip install --upgrade virtualenv | ||
</ | </ | ||
Ligne 28: | 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 ~ | ''/ | ||
+ | |||
+ | |||