Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Proposal to standardize element-wise arithmetic operations #9

Closed
@kgryte

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.

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