Skip to content

Update trapz() to be trapezoid() #52606

@mruberry

Description

@mruberry

See scipy/scipy#12934, where SciPy updated the trapz function.

As part of this change:

  • trapz() should alias trapezoid(), but its documentation should be removed (silent alias)
  • an OpInfo for trapezoid() should be added
  • we should use this opportunity to review documentation for trapezoid()
  • we should validate that tests for trapezoid() verify NumPy and SciPy consistency

Usage Info:

cc @mruberry @rgommers @heitorschueroff

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: deprecationmodule: numpyRelated to numpy support, and also numpy compatibility of our operatorstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions