Skip to content

Adds isneginf and isposinf - #3581

Merged
mrocklin merged 4 commits into
dask:masterfrom
jakirkham:some_is_ufuncs
Jun 10, 2018
Merged

mrocklin merged 4 commits into
dask:masterfrom
jakirkham:some_is_ufuncs

Conversation

@jakirkham

@jakirkham jakirkham commented Jun 8, 2018 •

Copy link
Copy Markdown
Member

Provides Dask Array implementations of isneginf and isposinf.

Note: These are not ufuncs, but they are ufunclike (or so the module they are from names them).

  • Tests added / passed
  • Passes flake8 dask

@jakirkham jakirkham changed the title WIP: Adds isneginf and isposinf Adds isneginf and isposinf Jun 8, 2018
jakirkham added 4 commits June 8, 2018 15:48
Includes some ufunclike functions for checking the signage of infinity
included in an array.
Provide some data with different signs of infinity and some non-infinite
numbers (nan) to make sure it is able to discern these correctly and get
the same result with Dask Arrays as NumPy would get on ndarrays.
@mrocklin

mrocklin commented Jun 8, 2018

Copy link
Copy Markdown
Member

Seems fine to me

@mrocklin
mrocklin merged commit d31745a into dask:master Jun 10, 2018
@jakirkham
jakirkham deleted the some_is_ufuncs branch June 10, 2018 19:41
convexset added a commit to convexset/dask that referenced this pull request Jun 12, 2018
* master:
  [array.linalg.qr] added sfqr (short-and-fat) as a counterpart to tsqr… (dask#3575)
  Drop Dask Array's `learn` module (dask#3580)
  Adds `isneginf` and `isposinf` (dask#3581)
  Update sizeof definitions (dask#3582)
  BUG: do not raise IndexError for identity slice in array.vindex (dask#3559)
  Correct internal dimension of Dask's SVD (dask#3517)
  Fix check in configuration with env=None (dask#3562)
  Dataframe sample method docstring fix (dask#3566)
  Include "region" in key names for da.store (dask#3540)

# Conflicts:
#	dask/array/linalg.py
#	dask/array/tests/test_linalg.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants