Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

methods required for Quantity API #13

Open
andrewgsavage opened this issue Jan 1, 2025 · 1 comment
Open

methods required for Quantity API #13

andrewgsavage opened this issue Jan 1, 2025 · 1 comment

Comments

@andrewgsavage
Copy link
Contributor

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!

@lucascolley
Copy link
Member

I think so, yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants