[ 源代码: units-filter ]
软件包:units-filter(4.2.1-1 以及其他的)
Parser for expressions concerning physical values
Units-filter is a basic standalone filter written in C language, flex and bison. It inputs strings like "1.5e3 nN.m.s^-1" (it could be the time growth ratio of a torque) and outputs the value in standard SI unit, followed by the physical dimension of this value.
example :~/src$ echo 1.5e3 nN.m.s^-1 | units-filter 1.5e-06 2 1 -3 0 0 0 0 0 0
2 -3 which means : 1.5e-06 (SI unit) m .kg.s
This parser can be embedded in educational test systems, in order to analyze a student's answer to a problem of physics or chemistry.
其他与 units-filter 有关的软件包
|
|
|
|
-
- dep: libc6 (>= 2.38)
- GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
-
- dep: libgcc-s1 (>= 3.0)
- GCC 支持库
-
- dep: libgmp10 (>= 2:6.3.0+dfsg)
- 多精度运算库
-
- dep: libjs-jquery
- JavaScript library for dynamic web applications
-
- dep: libjs-underscore
- JavaScript's functional programming helper library
-
- dep: librecode3 (>= 3.7)
- Shared library on which recode is based
-
- dep: libstdc++6 (>= 13.1)
- GNU 标准 C++ 库,第3版
-
- rec: python3-sphinx
- documentation generator for Python projects
-
- sug: wims
- server for educational content: courses, exercises, and exams