Skip to content

ENH: Adding logical gufuncs, ie all_equal #8528

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

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0c493fe
init commit
mattharrigan Jan 23, 2017
61a9044
temporary build fix
juliantaylor Jan 30, 2017
220235f
added all_equal docstring
mattharrigan Feb 1, 2017
3161244
TEST added logical_gufunc test
mattharrigan Feb 1, 2017
a1dccae
added complex types
mattharrigan Feb 3, 2017
6aaf761
fix build issues
mattharrigan Feb 5, 2017
80ec17b
fix pull request comments
mattharrigan Feb 7, 2017
413e50d
wrap lines over max length
mattharrigan Feb 11, 2017
1073915
add vectorization
mattharrigan Feb 16, 2017
92ac19e
use consistent name for funcs
mattharrigan Mar 6, 2017
12e20c8
refactor ufunc registration to use src template more directly
mattharrigan Mar 6, 2017
b9b0b5f
added docstrings
mattharrigan Mar 8, 2017
094fa03
fix build issue
mattharrigan Mar 9, 2017
64fc879
incorp PR comment
mattharrigan Mar 9, 2017
06d0062
rewrite to vectorize all types
juliantaylor Mar 20, 2017
2dc6492
add avx support
juliantaylor Mar 20, 2017
066c46f
cleanup
juliantaylor Mar 22, 2017
e9d2ec1
add datetime loops
juliantaylor Mar 22, 2017
88446e1
add object loops
juliantaylor Mar 23, 2017
d86fb1e
add bool loops
juliantaylor Mar 23, 2017
fefce3d
add half loops
juliantaylor Mar 23, 2017
ece072c
skip some duplicates for non vectorizable types
juliantaylor Mar 24, 2017
b46d6e7
remove long/longlong duplication
juliantaylor Mar 24, 2017
fdcf7ed
bool needs to convert the bytes to boolean first
juliantaylor Mar 24, 2017
99c13c0
remove unnecessary template parameter
juliantaylor Mar 24, 2017
ba27857
fix wrong not_equal NAT conditional
juliantaylor Mar 24, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ numpy/core/src/umath/simd.inc
numpy/core/src/umath/struct_ufunc_test.c
numpy/core/src/umath/test_rational.c
numpy/core/src/umath/umath_tests.c
numpy/core/src/umath/logical_gufuncs.c
numpy/distutils/__config__.py
numpy/linalg/umath_linalg.c
doc/source/reference/generated
Expand Down
3 changes: 2 additions & 1 deletion numpy/core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,8 @@ def generate_umath_c(ext, build_dir):
join('src', 'umath', 'ufunc_object.c'),
join('src', 'umath', 'scalarmath.c.src'),
join('src', 'umath', 'ufunc_type_resolution.c'),
join('src', 'private', 'mem_overlap.c')]
join('src', 'private', 'mem_overlap.c'),
join('src', 'umath', 'logical_gufuncs.c.src')]

umath_deps = [
generate_umath_py,
Expand Down
Loading