Giter VIP home page Giter VIP logo

Comments (7)

stdlib-bot avatar stdlib-bot commented on June 13, 2024

👋 Hi there! 👋

And thank you for opening your first issue! We will get back to you shortly. 🏃 💨

from stdlib.

kgryte avatar kgryte commented on June 13, 2024

@itskdhere I'm not opposed the addition of various constants; however, my guess is that we'd need to resolve package organization before actually adding any of the specified constants. E.g., they may need to be categorized by domain.

And also, do note that your initial list above contains duplicates. We'd only want one package per constant.

from stdlib.

kgryte avatar kgryte commented on June 13, 2024

Also, can you articulate why you want these particular constants? Typically, we've only added constants as we've needed them. This RFC proposes adding them for their own sake and is likely to be lower priority.

from stdlib.

itskdhere avatar itskdhere commented on June 13, 2024

Also, can you articulate why you want these particular constants? Typically, we've only added constants as we've needed them. This RFC proposes adding them for their own sake and is likely to be lower priority.

I want to add these constants like the physical constants of scipy.constants (https://docs.scipy.org/doc/scipy/reference/constants.html#physical-constants)

from stdlib.

itskdhere avatar itskdhere commented on June 13, 2024

@itskdhere I'm not opposed the addition of various constants; however, my guess is that we'd need to resolve package organization before actually adding any of the specified constants. E.g., they may need to be categorized by domain.

Yes, maybe the proposed physical constants can be added in something like @stdlib/constants/physical/* .
For example: @stdlib/constants/physical/speed_of_light


And also, do note that your initial list above contains duplicates. We'd only want one package per constant.

I just listed all physical constants available in scipy.constants (except CODATA ones) in my initial list above.
And in case of duplicate ones, I think the full name ones might be preferred. For example, speed_of_light might be preferred instead of c

from stdlib.

kgryte avatar kgryte commented on June 13, 2024

I wonder if it would make sense instead to follow the dictionary API found in SciPy instead, as done for CODATA.

from stdlib.

itskdhere avatar itskdhere commented on June 13, 2024

I wonder if it would make sense instead to follow the dictionary API found in SciPy instead, as done for CODATA.

Yes, that will be good.

I've checked the implementation of that in SciPy and it might be a little tricky but interesting thing to implement.

So, should I change #2119 (comment) according to that or open a new issue ?

from stdlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.