Skip to content

NumPy Function Wrapping ⭐⭐⭐ HIGH PRIORITY #474

@hpohekar

Description

@hpohekar

What it is: Comprehensive support for NumPy ufuncs with automatic unit handling.

Pint implementation:

  • Automatic dimensionality checking for trig functions
  • Unit-aware output for functions like np.sum(), np.mean()
  • Support for np.arccos(), np.exp(), etc.

ansys-units status: ⚠️ Partial (basic NumPy array support, but limited ufunc integration)

Recommendation: Implement array_ufunc and array_function protocols for comprehensive NumPy integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions