diff options
author | hpaulj <hpj3@myuw.net> | 2014-01-07 11:39:49 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-01-10 11:12:45 -0700 |
commit | b1b0ea8030cad32d6fce2e6e6b5068e54bd6b7a7 (patch) | |
tree | 87fb69446f24699037400005baccce9b9b986806 /numpy/polynomial/polyutils.py | |
parent | d1dbf8e796ab6bcdc4f3b71252f3921ab2a62269 (diff) | |
download | numpy-b1b0ea8030cad32d6fce2e6e6b5068e54bd6b7a7.tar.gz |
ENH: Remove unnecessary broadcasting notation restrictions in einsum.
In a case where 'ik,kj->ij' works, einsum would raise an error for
'ik,k...->i...' because the 'ik' did not have ellipsis
In einsum.c.src prepare_op_axes() pass all 'broadcast' cases through the
'RIGHT' case (interation from the end).
Since the BROADCAST variable is not longer needed, all instances of it have
been removed from einsum.c.src
test_einsum.py - adds a test_einsum_broadcast case.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions