Skip to content
Sections
>> Trisquel >> Packages >> etiona >> science >> units-filter
etiona  ] [  nabia  ] [  aramo  ]
[ Source: units-filter  ]

Package: units-filter (3.7-3build1)

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.

Other Packages Related to units-filter

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: libgcc1 (>= 1:3.0)
    GCC support library
  • dep: libgmp10
    Multiprecision arithmetic library
  • dep: libstdc++6 (>= 5.2)
    GNU Standard C++ Library v3
  • sug: wims
    server for educational content: courses, exercises, and exams

Download units-filter

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 29.0 kB88 kB [list of files]
i386 31.2 kB86 kB [list of files]