Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating this scipy to match the master #3

Merged
merged 123 commits into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
a678a2a
ENH: optimize: redundancy removal replace solve_triangular w/ dtrsv
mdhaber Dec 18, 2019
f065d85
ENH: optimize: redundancy removal - efficiently initialize A/B in For…
mdhaber Dec 18, 2019
939d515
ENH: optimize: redundancy removal - supply (trivial) LU for initial b…
mdhaber Dec 18, 2019
cbaa7bd
ENH: optimize: redundancy removal - get candidate basis columns more …
mdhaber Dec 18, 2019
955369c
TST: optimize: test all redundancy removal routines
mdhaber Dec 18, 2019
8bffb62
ENH: optimize: redundancy removal - stop after finding expected redun…
mdhaber Dec 19, 2019
0cce142
Revert "ENH: optimize: redundancy removal - efficiently initialize A/…
mdhaber Dec 19, 2019
7afba42
ENH: optimize: redundancy removal - efficiently initialize A in Fortr…
mdhaber Dec 19, 2019
91c2b4c
ENH: optimize: efficiently initialize lu in Fortran order
mdhaber Dec 29, 2019
1e37b5e
TST: linalg: Add test for ?tbtrs NAG example
Kai-Striega Dec 14, 2019
c604363
ENH: linalg: Add wrapper for ?tbtrs
Kai-Striega Dec 14, 2019
bd5f8c5
ENH: linalg: Test ?tbtrs with random matrices
Kai-Striega Dec 24, 2019
5306161
STY: linalg: Add comments describing A,b args
Kai-Striega Jan 4, 2020
893b02b
ENH: linalg: Allow b to be complex
Kai-Striega Jan 4, 2020
1f90d63
ENH: linalg: Test trans = {T, C} in ?tbtrs
Kai-Striega Jan 4, 2020
702fa08
ENH: linalg: Test ?tbtrs when A is unit triangular
Kai-Striega Jan 4, 2020
f2afd89
TST: linalg: Test dtbtrs with invalid arguments
Kai-Striega Jan 4, 2020
181523b
TST: linalg: Test ?tbtrs with a zero diagonal
Kai-Striega Jan 6, 2020
c6a76cb
TST: linalg: Test ?tbtrs with size 0 inputs
Kai-Striega Jan 6, 2020
f934c61
ENH: linalg: Test ldb >= max(1, n) in ?tbtrs
Kai-Striega Jan 16, 2020
413da82
MAINT: optimize: replace dtrsv with dtrsm for redundancy removal
mdhaber Jan 18, 2020
d5879a3
ENH: linalg: Allow ld? to be size 1
Kai-Striega Jan 21, 2020
ee53ef2
An ex. for creating arbitrary size tri-diagonal
Jiacheng-Liu Feb 12, 2020
7766c69
ENH: improve sparse.lil.tocsr performance
smola Feb 13, 2020
4509535
ENH: Added kstwo probability distribution for two-sided one-sample K-…
pvanmulbregt Jan 10, 2019
83d2a8a
DOC: Added more documentation and references, some cleanup.
pvanmulbregt Jan 13, 2019
df9bf6a
DOC: Added necessary doc for stats.kstwo distribution.
pvanmulbregt Jan 26, 2019
72edf2f
TST: Added ksone, kstwo to list of skipped distributions in TestFitM…
pvanmulbregt Jan 27, 2019
b8e23cb
TST: Added kstwo to list of failing distributions in stats/tests/tes…
pvanmulbregt Jan 27, 2019
644268a
ENH: Enhance efficiency of some stats.kstwo basic operations.
pvanmulbregt Mar 9, 2019
d412085
STY: Fix 3 pycodestyle space issues
pvanmulbregt Mar 9, 2019
72318be
Fix the support for stats.kstwo.
pvanmulbregt Jul 1, 2019
886ee79
Fix the _get_support for stats.kstwo.
pvanmulbregt Jul 1, 2019
dbe1735
Removed an extraneous comment in _continuous_distns.py.
pvanmulbregt Jul 11, 2019
be03efd
DOC: Updated docstrings and examples based upon reviewer comments.
pvanmulbregt Sep 29, 2019
e818376
DOC: Added more documentation to tests for stats.kstwo
pvanmulbregt Oct 1, 2019
d42ef2f
Added a test of values computed near the mean of the KSTwo distribution.
pvanmulbregt Dec 15, 2019
a052c48
DOC: Update the number of continuous stats distributions to 101
pvanmulbregt Dec 22, 2019
f78863e
Fixed indentation in test_cont_basic (check_vecentropy/check_private_…
pvanmulbregt Jan 12, 2020
d0d827d
DOC: Changed markdown level for Examples section in continuous_kstwo.…
pvanmulbregt Jan 12, 2020
cd0f430
Cleaned up _ppf_single after reviewer comment.
pvanmulbregt Feb 2, 2020
b0f34cd
Addressing reviewer comments.
pvanmulbregt Feb 9, 2020
37fd811
MAINT: Fixed several unused imports and unused assignments.
pvanmulbregt Feb 17, 2020
b890b8f
FIX: Allow non-native byte order inputs to scipy.fft
peterbell10 Feb 17, 2020
748a3ad
FIX: Copy past error in test
peterbell10 Feb 17, 2020
5eefcbd
Addressing comments of reviewer.
pvanmulbregt Feb 17, 2020
89eae9e
MAINT: Fixed several unused imports and unused assignments in scipy/fft.
pvanmulbregt Feb 17, 2020
72731d4
MAINT: Fixed several unused imports and unused assignments in scipy/i…
pvanmulbregt Feb 17, 2020
90bf083
MAINT: Fixed several unused imports and unused assignments in scipy/s…
pvanmulbregt Feb 17, 2020
33aaac5
Fixed warnings from scipy/fft/_pocketfft
pvanmulbregt Feb 18, 2020
abb2db5
MAINT: Removed unused imports; fixed unused assignments in scipy/spat…
pvanmulbregt Feb 18, 2020
96023d6
MAINT: Removed unused imports; fixed unused assignments in scipy/sparse.
pvanmulbregt Feb 18, 2020
2615740
MAINT: Replace xrange with range
sethtroisi Feb 18, 2020
a1f3dcf
fix explicit import
Jiacheng-Liu Feb 18, 2020
436b19a
fix explicit import and pick a smaller n
Jiacheng-Liu Feb 18, 2020
66eb49a
Fixed spatial.tests.test_pdist_seuclidean_random_float32
pvanmulbregt Feb 18, 2020
8c84430
Removed a commented-out import in fft/tests/mock_backend.py
pvanmulbregt Feb 19, 2020
495631e
Merge pull request #11541 from pvanmulbregt/warnings_special
person142 Feb 19, 2020
9beb4c5
Merge pull request #11538 from pvanmulbregt/warnings_fft
tylerjereddy Feb 19, 2020
c236d0f
Merge pull request #11548 from pvanmulbregt/warnings_sparse
tylerjereddy Feb 20, 2020
44e96e2
Remove expression left over from removal of an unused assigment.
pvanmulbregt Feb 20, 2020
54e4f6d
MAINT: stats: remove an _argcheck call
ev-br Feb 20, 2020
1e16171
Merge pull request #11547 from pvanmulbregt/warnings_spatial
tylerjereddy Feb 20, 2020
4d15ee3
Merge pull request #11560 from ev-br/rv_frozen_argcheck
tylerjereddy Feb 21, 2020
5574b7a
TST: Parameterize sytrd test
Kai-Striega Feb 22, 2020
6655c93
TST: Split sytrd test with zero dim array
Kai-Striega Feb 22, 2020
513251f
TST: Add test for 1d sytrd
Kai-Striega Feb 22, 2020
551de16
TST: Paramaterize hetrd tests
Kai-Striega Feb 22, 2020
1b035d1
TST: Split zero dim hetrd test into distinct test
Kai-Striega Feb 22, 2020
e3d732e
TST: Add test for 1d hetrd
Kai-Striega Feb 22, 2020
a564f78
MAINT: Removed unused imports; fixed unused assignments in scipy/stats.
pvanmulbregt Feb 23, 2020
74d9697
MAINT: Small change to `optimize.nnls` error messages.
arokem Feb 23, 2020
f743bbe
Merge pull request #11245 from mdhaber/dense_rr_speedup
Kai-Striega Feb 23, 2020
4cff36f
Merge pull request #11378 from Kai-Striega/lapack_support_tbtrs
Kai-Striega Feb 23, 2020
afc20d6
MAINT: Fixed an unused assignment in scipy/stats.
pvanmulbregt Feb 23, 2020
5b5446f
Merge pull request #11573 from pvanmulbregt/warnings_stats
ev-br Feb 23, 2020
248bf1f
Merge pull request #11574 from arokem/error-msg-nnls
ev-br Feb 23, 2020
f2177e4
Merge pull request #11532 from pvanmulbregt/warnings_linalg
ev-br Feb 23, 2020
c960799
fix import numpy
Jiacheng-Liu Feb 23, 2020
30ff2fe
Merge pull request #11510 from Jiacheng-Liu/sparse-doc-improvement
ev-br Feb 23, 2020
92bc9d5
Merge pull request #11575 from Kai-Striega/tidy_sytrd_test
mdhaber Feb 23, 2020
2598265
BUG: fix augmentation being broken in maximum_bipartite_matching
fuglede Feb 2, 2020
a453213
Merge pull request #11534 from peterbell10/fft-byte-order
tylerjereddy Feb 24, 2020
fead97b
Merge pull request #9719 from pvanmulbregt/kstwo_rebase
chrisb83 Feb 25, 2020
9a1969c
BUG: Differential evolution with LinearConstraint with sparse matrix …
santiher Feb 25, 2020
19745cc
MAINT: add rvs method to argus in scipy.stats
chrisb83 Dec 7, 2019
776eef4
MAINT: use ratio of uniforms for large chi
chrisb83 Jan 21, 2020
425a317
Merge pull request #11549 from sethtroisi/range
andyfaff Feb 25, 2020
2e410cb
MAINT: Remove Python2 module init
sethtroisi Feb 26, 2020
a03f15f
Merge pull request #11459 from fuglede/fix-augmentation
Kai-Striega Feb 27, 2020
ca54f2f
MAINT: Remove Python 2 workarounds
sethtroisi Jan 29, 2020
e27a9c1
Merge pull request #11188 from chrisb83/argus_rvs
tylerjereddy Feb 28, 2020
e8f396b
ENH: improve docstring of weibull_min_gen and weibull_max_gen to fix …
AtsushiSakai Feb 28, 2020
8675d6e
Merge pull request #11517 from smola/lil-tocsr
tylerjereddy Feb 28, 2020
5a781fd
MAINT: Addressed comments of reviewer for warnings in scipy/interpolate.
pvanmulbregt Feb 29, 2020
0538284
ENH: special: add `log_softmax` (#11187)
cycentum Mar 1, 2020
5bd4bfc
Merge pull request #11590 from sethtroisi/py_version
tylerjereddy Mar 3, 2020
3921588
Merge pull request #11539 from pvanmulbregt/warnings_interpolate
ev-br Mar 4, 2020
f0757ef
MAINT: Cleanup uses of PY_VERSION_HEX, PY_MAJOR_VERSION, NPY_PY3K
sethtroisi Mar 4, 2020
f254fa6
MAINT: Remove unnecessary 'from __future__ import ...' statements
sethtroisi Mar 4, 2020
9d7e827
Merge pull request #11589 from sethtroisi/sys_version_2
rgommers Mar 4, 2020
2903045
MAINT: Cleanup uses of PY_VERSION_HEX, PY_MAJOR_VERSION, NPY_PY3K
sethtroisi Mar 4, 2020
d0cdf7a
MAINT: Cleanup uses of PY_VERSION_HEX
sethtroisi Mar 4, 2020
fd5b297
MAINT, TST: adjust azure for matplotlib release
tylerjereddy Mar 5, 2020
0c7545e
Merge pull request #11628 from tylerjereddy/azure_matplotlib_remove_g…
tylerjereddy Mar 5, 2020
398849d
TST: add openblas_support.py
tylerjereddy Feb 24, 2020
c050fd9
reverted to old behaviour for constant cost matrices
pmla Mar 5, 2020
568e2fb
MAINT: Define ARRAY_ANYORDER with DEF instead of cdef
alexhenrie Mar 6, 2020
c5b9f5e
Merge pull request #11632 from alexhenrie/array_anyorder
ilayn Mar 7, 2020
23f83a9
MAINT: Fix BLAS trmm wrapper for side arg
ilayn Mar 7, 2020
e3bf555
Merge pull request #11631 from pmla/lsap-constant-cost
tylerjereddy Mar 7, 2020
f8f8ce1
Merge pull request #11621 from sethtroisi/PY_VERSION_HEX_1
tylerjereddy Mar 7, 2020
5c7a576
Merge pull request #11585 from tylerjereddy/treddy_openblas_support
tylerjereddy Mar 7, 2020
2774bec
Merge pull request #11623 from sethtroisi/__future_part1
tylerjereddy Mar 8, 2020
78adab4
MAINT: fix conversion in binom_test
tylerjereddy Mar 8, 2020
06a436f
Merge pull request #11643 from tylerjereddy/fix_numpy_int_dep_conv
WarrenWeckesser Mar 8, 2020
6d576be
MAINT: Remove unnecessary 'from __future__ import ...' statements
sethtroisi Mar 4, 2020
eefd95f
ENH: add nan_policy argument and functionality to stats.mstats.winsor…
dankleeman Mar 8, 2020
5f3b3a6
DOC: Update paper URL in lambertw documentation
jrwrigh Mar 8, 2020
8c82e68
Merge pull request #11651 from jrwrigh/patch-2
rgommers Mar 9, 2020
4d2d144
Merge pull request #11626 from sethtroisi/PY_VERSION_HEX_3
tylerjereddy Mar 10, 2020
c1372d8
Merge pull request #11646 from sethtroisi/__future
rgommers Mar 10, 2020
0e33004
Merge pull request #11640 from ilayn/trmmfix
ilayn Mar 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ before_install:
fi
- |
if [ "${TESTMODE}" == "full" ]; then
travis_retry pip install pytest-cov coverage matplotlib==3.2.0rc1 scikit-umfpack scikit-sparse
travis_retry pip install pytest-cov coverage matplotlib scikit-umfpack scikit-sparse
fi
- |
if [ "${REFGUIDE_CHECK}" == "1" ]; then
Expand Down
3 changes: 3 additions & 0 deletions THANKS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ Domen Gorjup and Janko Slavič for continuous wavelet transform with complex
wavelets fix.
Søren Fuglede Jørgensen for improvements to scipy.sparse.csgraph
Grzegorz Mrukwa for a bug fix in rectangular_lsap.cpp
Santiago Hernandez for a bug fix in scipy.optimize._differentialevolution.py.
Dan Kleeman for implementing nan_policy in stats.zscores and winsorize
James Wright for simple documentation fixes

Institutions
------------
Expand Down
34 changes: 13 additions & 21 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ trigger:
- './*.txt'
- 'site.cfg.example'

# the version of OpenBLAS used is currently 0.3.7
# the version of OpenBLAS used is currently 0.3.8.dev
# and should be updated to match scipy-wheels as appropriate
variables:
openblas_version: 0.3.8.dev

jobs:
- job: Linux_Python_36_32bit_full
Expand All @@ -30,15 +32,16 @@ jobs:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3.6 get-pip.py && \
pip3 --version && \
pip3 install setuptools wheel numpy cython==0.29.14 pybind11 pytest pytest-timeout pytest-xdist pytest-env pytest-cov Pillow mpmath matplotlib --user && \
pip3 install setuptools wheel numpy cython==0.29.14 pybind11 pytest pytest-timeout pytest-xdist pytest-env pytest-cov Pillow mpmath matplotlib==3.1.3 --user && \
apt-get -y install gfortran-5 wget && \
cd .. && \
mkdir openblas && cd openblas && \
wget https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com/openblas-v0.3.7-manylinux1_i686.tar.gz && \
tar zxvf openblas-v0.3.7-manylinux1_i686.tar.gz && \
cp -r ./usr/local/lib/* /usr/lib && \
cp ./usr/local/include/* /usr/include && \
target=\$(python3.6 ../scipy/tools/openblas_support.py) && \
cp -r \$target/lib/* /usr/lib && \
cp \$target/include/* /usr/include && \
cd ../scipy && \
F77=gfortran-5 F90=gfortran-5 python3.6 setup.py install && \
python3.6 tools/openblas_support.py --check_version $(openblas_version) && \
F77=gfortran-5 F90=gfortran-5 python3.6 runtests.py --mode=full -- -n auto -s --junitxml=junit/test-results.xml --cov-config=.coveragerc --cov-report=xml --cov-report=html"
displayName: 'Run 32-bit Ubuntu Docker Build / Tests'
- task: PublishTestResults@2
Expand All @@ -56,9 +59,6 @@ jobs:
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/master')) # skip for PR merges
pool:
vmImage: 'VS2017-Win2016'
variables:
OPENBLAS_32: https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com/openblas-v0.3.7-win32-gcc_7_1_0.zip
OPENBLAS_64: https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com/openblas-v0.3.7-win_amd64-gcc_7_1_0.zip
strategy:
maxParallel: 4
matrix:
Expand Down Expand Up @@ -95,15 +95,12 @@ jobs:
- script: python -m pip install --upgrade pip setuptools wheel
displayName: 'Install tools'
- powershell: |
$wc = New-Object net.webclient;
$wc.Downloadfile("$(OPENBLAS)", "openblas.zip")
$tmpdir = New-TemporaryFile | %{ rm $_; mkdir $_ }
Expand-Archive "openblas.zip" $tmpdir
$pyversion = python -c "from __future__ import print_function; import sys; print(sys.version.split()[0])"
$pyversion = python -c "import sys; print(sys.version.split()[0])"
Write-Host "Python Version: $pyversion"
$target = "C:\\hostedtoolcache\\windows\\Python\\$pyversion\\$(PYTHON_ARCH)\\lib\\openblas.a"
Write-Host "target path: $target"
cp $tmpdir\$(BITS)\lib\libopenblas_v0.3.7-gcc_7_1_0.a $target
$openblas = python tools/openblas_support.py
cp $openblas $target
displayName: 'Download / Install OpenBLAS'
- powershell: |
# wheels appear to use mingw64 version 6.3.0, but 6.4.0
Expand All @@ -118,12 +115,7 @@ jobs:
- script: python -m pip install numpy cython==0.29.14 pybind11 pytest pytest-timeout pytest-xdist pytest-env pytest-cov Pillow mpmath
displayName: 'Install dependencies'
- powershell: |
If ($(PYTHON_VERSION) -ne '3.6') {
python -m pip install matplotlib==3.2.0rc1
}
else {
python -m pip install matplotlib
}
python -m pip install matplotlib
displayName: 'Install matplotlib'
# DLL resolution mechanics were changed in
# Python 3.8: https://bugs.python.org/issue36085
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/blas_lapack.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, absolute_import, print_function

import numpy as np

try:
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/common.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""
Airspeed Velocity benchmark utilities
"""
from __future__ import division, absolute_import, print_function

import sys
import os
import re
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/cython_special.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, absolute_import, print_function

import re
import numpy as np
from scipy import special
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/fft_basic.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
""" Test functions for fftpack.basic module
"""
from __future__ import division, absolute_import, print_function

from numpy import arange, asarray, zeros, dot, exp, pi, double, cdouble
from numpy.random import rand
import numpy as np
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/fftpack_pseudo_diffs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
""" Benchmark functions for fftpack.pseudo_diffs module
"""
from __future__ import division, absolute_import, print_function

from numpy import arange, sin, cos, pi, exp, tanh, sign

try:
Expand Down
1 change: 0 additions & 1 deletion benchmarks/benchmarks/go_benchmark_functions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
"""
==============================================================================
`go_benchmark_functions` -- Problems for testing global optimization routines
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_benchmark.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

import numpy as np
from numpy import abs, asarray

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_A.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, cos, exp, pi, prod, sin, sqrt, sum
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_B.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, cos, exp, log, arange, pi, sin, sqrt, sum
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_C.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

import numpy as np
from numpy import (abs, asarray, cos, exp, floor, pi, sign, sin, sqrt, sum,
size, tril, isnan, atleast_2d, repeat)
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_D.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

import numpy as np
from numpy import abs, cos, exp, arange, pi, sin, sqrt, sum, zeros, tanh
from numpy.testing import assert_almost_equal
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_E.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, asarray, cos, exp, arange, pi, sin, sqrt, sum
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_F.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from .go_benchmark import Benchmark


Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_G.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

import numpy as np
from numpy import abs, sin, cos, exp, floor, log, arange, prod, sqrt, sum

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_H.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

import numpy as np
from numpy import abs, arctan2, asarray, cos, exp, arange, pi, sin, sqrt, sum
from .go_benchmark import Benchmark
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_I.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import sin, sum
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_J.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import sum, asarray, arange, exp
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_K.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import asarray, atleast_2d, arange, sin, sqrt, prod, sum, round
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_L.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import sum, cos, exp, pi, arange, sin
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_M.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import (abs, asarray, cos, exp, log, arange, pi, prod, sin, sqrt,
sum, tan)
try:
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_N.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import cos, sqrt, sin, abs
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_O.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import sum, cos, exp, pi, asarray
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_P.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import (abs, sum, sin, cos, sqrt, log, prod, where, pi, exp, arange,
floor, log10, atleast_2d, zeros)
from .go_benchmark import Benchmark
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_Q.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, sum, arange, sqrt

from .go_benchmark import Benchmark
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_R.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, sum, sin, cos, asarray, arange, pi, exp, log, sqrt
from scipy.optimize import rosen
from .go_benchmark import Benchmark
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_S.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import (abs, asarray, cos, floor, arange, pi, prod, roll, sin,
sqrt, sum, repeat, atleast_2d, tril)
from numpy.random import uniform
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_T.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, asarray, cos, exp, arange, pi, sin, sum, atleast_2d
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_U.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, sin, cos, pi, sqrt
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_V.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import sum, cos, sin, log
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_W.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import atleast_2d, arange, sum, cos, exp, pi
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_X.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

import numpy as np
from numpy import abs, sum, sin, cos, pi, exp, arange, prod, sqrt
from .go_benchmark import Benchmark
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_Y.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, sum, cos, pi
from .go_benchmark import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/go_benchmark_functions/go_funcs_Z.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

from numpy import abs, sum, sign, arange
from .go_benchmark import Benchmark

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
from numpy import cos, exp, log, pi, sin, sqrt

try:
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/integrate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, absolute_import, print_function

import numpy as np
from .common import Benchmark

Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/interpolate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, absolute_import, print_function

import numpy as np

from .common import run_monitored, set_mem_rlimit, Benchmark
Expand Down
1 change: 0 additions & 1 deletion benchmarks/benchmarks/io_matlab.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import division, absolute_import, print_function
from .common import set_mem_rlimit, run_monitored, get_mem_info

import os
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/linalg.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, absolute_import, print_function

import math

import numpy.linalg as nl
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/linalg_solve_toeplitz.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""Benchmark the solve_toeplitz solver (Levinson recursion)
"""
from __future__ import division, absolute_import, print_function

import numpy as np

try:
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/linalg_sqrtm.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
""" Benchmark linalg.sqrtm for various blocksizes.

"""
from __future__ import division, absolute_import, print_function

import numpy as np

try:
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/linprog_benchmark_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import

"""
==============================================================================
`` -- Problems for testing linear programming routines
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/lsq_problems.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""Benchmark problems for nonlinear least squares."""

from __future__ import division

from collections import OrderedDict
import inspect
import sys
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/benchmarks/optimize.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import division, print_function, absolute_import

import os
import time
import inspect
Expand Down
Loading