Skip to content

[RFC]: move strided packages from stats/base/* to stats/strided/* #4797

Open
@kgryte

Description

@kgryte

Description

This RFC proposes moving strided array packages found in @stdlib/stats/base to a @stdlib/strided namespace. For example,

  • @stdlib/stats/base/dmeanli => @stdlib/stats/strided/dmeanli
  • @stdlib/stats/base/svariancepn => @stdlib/stats/strided/svariancepn

Currently, the stats/base namespace is a mixture of "base" functionality (namely, lower-level scalar dists kernels) and strided array interfaces. This RFC proposes moving the stats namespace to be more consistent with the @stdlib/math/strided and @stdlib/random/strided namespaces, where strided array APIs are found in a dedicated strided subnamespace.

Related Issues

Questions

No.

Other

The migration path would be as follows:

  • copy strided array packages to a stats/strided sub-namespace.
  • update all require paths using the stats/base strided packages.
  • remove all strided packages from stats/base.

Note, however, that the migration process requires a very specific sequence of steps (i.e., commits). As such, this is not a good first issue.

Checklist

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedRFC feature request which has been accepted.MaintainersIssue which should be handled by project maintainers & is not recommended for external contributors.RFCRequest for comments. Feature requests and proposed changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions