TST: adding test cases for COO sum_duplicates
ENH: adding sum_duplicates method to COO matrix
adding has_canonical_format to COO matrix
fixing build errors
incorporating @jaimefrio's vectorized version
MAINT: attempt to improve svds of singular matrices, passes existing tests
MAINT: sparse svd passes new tests
MAINT: simplify code and tests for sparse singular svd
ENH: Add ext parameter to UnivariateSpline call

Pass parameter to fitpack.splev to control how to handle out of range
evaluations. Added test to scipy/interpolate/tests/test_fitpack2.py.

See ticket 3557.

closes gh-3557
STY avoid unnecessary transposes in csr_matrix.getcol/row
ENH: Add ext parameter to UnivariateSpline

Pass parameter to fitpack.splev to control how to handle out of range
evaluations. Parameter ext can be passed via __init__ or __call__. Added
test to scipy/interpolate/tests/test_fitpack2.py. Tests if UnivariateSpline
call equals x ** 3 for out of range x and extrapolation modes 0 and 1.

See ticket 3557.

closes gh-3557
ENH: Add ext parameter to UnivariateSpline

Pass parameter to fitpack.splev to control how to handle out of range
evaluations. Parameter ext can be passed via __init__ or __call__. Added
test to scipy/interpolate/tests/test_fitpack2.py. Tests if UnivariateSpline
call equals x ** 3 for out of range x and extrapolation modes 0 and 1.
Modify _from_tck, derivative, and antiderivative methods to use ext
parameter. __init__ of LSQUnivariateSpline and InterpolatedUnivariateSpline
now accept ext.

See ticket 3557.

closes gh-3557
monic is a boolean parameter: False instead of 0
use True/False for boolean `mu` arguments
STY: autopep8 and some manual cleanup

but didn't modify some ugly lambdas
DOC: expand scipy.special.legendre docstring

(I think n must be int, but not sure.)
ENH: orthogonal procrustes solver
MAINT: replace asarray with more specific format request
MAINT: tweak import
TST: more extensive procrustes testing