Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想检查单个数量是否在测量范围内。或者,如果测量在测量范围内。即,这应该返回 True:
import pint u=pint.UnitRegistry() a=(1*u.m).plus_minus(0.1, relative=True) (1.05*u.m).within(a)
是否完全支持此功能/用例?