stdlib-js / stdlib-js/stdlib

[RFC]: add various physical constants (tracking issue)

未关闭
#2,119 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Needs Discussion RFC
主要语言
JavaScript
星标
6k
派生
1.3k
平均合并
1 天 3 小时
30 天内合并 PR
611

描述

### Description

This RFC proposes adding various physical constants.
The purpose of this issue is to serve as a tracking issue for adding various physical constants.


List of physical constants to be added:
- [ ] `c` (speed of light in vacuum)
- [ ] `speed_of_light` (speed of light in vacuum)
- [ ] `mu_0` (vacuum magnetic permeability)
- [ ] `epsilon_0` (vacuum electric permittivity)
- [ ] `h` (Planck constant)
- [ ] `Planck` (Planck constant)
- [ ] `hbar` (`h / (2 * pi)`)
- [ ] `G` (Newtonian constant of gravitation)
- [ ] `gravitational_constant` (Newtonian constant of gravitation)
- [ ] `g` (standard acceleration of gravity)
- [ ] `e` (elementary charge)
- [ ] `elementary_charge` (elementary charge)
- [ ] `R` (molar gas constant)
- [ ] `gas_constant` (molar gas constant)
- [ ] `alpha` (fine-structure constant)
- [ ] `fine_structure` (fine-structure constant)
- [ ] `N_A` (Avogadro constant)
- [ ] `Avogadro` (Avogadro constant)
- [ ] `k` (Boltzmann constant)
- [ ] `Boltzmann` (Boltzmann constant)
- [ ] `sigma` (Stefan-Boltzmann constant)
- [ ] `Stefan_Boltzmann` (Stefan-Boltzmann constant)
- [ ] `Wien` (Wien displacement law constant)
- [ ] `Rydberg` (Rydberg constant)
- [ ] `m_e` (electron mass)
- [ ] `electron_mass` (electron mass)
- [ ] `m_p` (proton mass)
- [ ] `proton_mass` (proton mass)
- [ ] `m_n` (neutron mass)
- [ ] `neutron_mass` (neutron mass)

### Related Issues

No.

### Questions

No.

### Other

No.

### Checklist

- [X] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with `RFC:`.

贡献指南

打开贡献指南

调研方向

这是一个范围广泛的跟踪 RFC;其中没有指定源文件、测试、入口点或实现约定。先定位项目中现有的数学常量,并审查相关的贡献约定,然后定义完整检查清单所需的范围和验证内容,再将工作视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
backend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。