Skip to content

methods required for Quantity API #13

Open

Description

@andrewgsavage

For a possible Quantity API, am I correct in thinking that you've only used:

Quantity.init(value, unit)
Quantity.units
Quantity.magnitude
Quantity.m_as
Unit.pow
Unit.add
Unit.sub
Unit.mul
Unit.div

If it's just those methods, a Quantity API that would allow support for the array API seems very doable!

Activity

  1. lucascolley commented on Jan 1, 2025

    @lucascolley
    Member

    I think so, yes!

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