scipy.constants.
precision#
- scipy.constants.precision(key)[原始碼]#
physical_constants 中由 key 索引的相對精確度
- 參數:
- keyPython 字串
字典中的鍵
physical_constants
- 返回:
- prec浮點數
與 key 對應的
physical_constants
中的相對精確度
範例
>>> from scipy import constants >>> constants.precision('proton mass') 5.1e-37