[ 源代码: units-filter ]
软件包:units-filter(4.0-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.17)
- GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
-
- dep: libgcc-s1 (>= 3.0)
- GCC 支持库
-
- dep: libgmp10
- 多精度运算库
-
- dep: librecode0 (>= 3.6)
- Shared library on which recode is based
-
- dep: libstdc++6 (>= 5.2)
- GNU 标准 C++ 库,第3版
-
- sug: wims
- server for educational content: courses, exercises, and exams