Download Source Package units-filter:
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.
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| alpha | 20.0 kB | 112 kB | [list of files] |
| amd64 | 20.1 kB | 96 kB | [list of files] |
| arm | 20.2 kB | 65 kB | [list of files] |
| hppa | 19.5 kB | 112 kB | [list of files] |
| i386 | 17.5 kB | 88 kB | [list of files] |
| ia64 | 25.8 kB | 156 kB | [list of files] |
| mips | 19.7 kB | 116 kB | [list of files] |
| mipsel | 19.6 kB | 116 kB | [list of files] |
| powerpc | 18.1 kB | 96 kB | [list of files] |
| s390 | 20.1 kB | 100 kB | [list of files] |
| sparc | 18.5 kB | 104 kB | [list of files] |