Skip to content

[Enhancement] Add functions that extend anynan for non-finite values #374

Open
@Skylion007

Description

@Skylion007

This package is very appealing for the accelerated anynan,allnan etc functions. There is a common use case that this package is failing to consider though. And that is that following common numpy structure:

assert np.all(np.isfinite(arr))

We may want to exclude inf and -inf as well as NaNs from the input. Would it be possible to add additional functions to this package that can do so? Or alternatively parameterize existing functions to enable this functionality with similar high-performance to anynan / allnan ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions