Skip to content

Proposal to standardize element-wise arithmetic operations #9

Description

@kgryte

Based on the analysis of array library APIs, we know that performing element-wise arithmetic operations is both universally implemented and commonly used. Accordingly, this issue proposes to standardize the following arithmetic operations:

Arithmetic Operations

  • add
  • subtract
  • multiply (mul)
  • divide (div)

Criterion

  1. Commonly implemented across array libraries.
  2. Commonly used by array library consumers.
  3. Operates on two arrays.

Questions

  1. Naming conventions? Currently, this proposal is biased toward verbose API names following NumPy.
  2. Are there any APIs listed above which should not be standardized?
  3. Are there basic arithmetic operations not listed above which should be standardized? Preferably, any additions should be supported by usage data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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