all options
wheezy  ] [  jessie  ] [  stretch  ] [  sid  ]
[ Source: units-filter  ]

Package: units-filter (3.7-3)

Links for units-filter

Screenshot

Debian Resources:

Download Source Package units-filter:

Maintainer:

Similar packages:

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.

Tags: Field: Chemistry, Physics, Implemented in: implemented-in::c, interface::commandline, Role: Program, Scope: Utility, Purpose: Data Conversion

Other Packages Related to units-filter

  • depends
  • recommends
  • suggests
  • enhances

Download units-filter

Download for all available architectures
Architecture Package Size Installed Size Files
alpha (unofficial port) 33.0 kB101.0 kB [list of files]
amd64 31.5 kB89.0 kB [list of files]
arm64 29.4 kB84.0 kB [list of files]
armel 28.7 kB79.0 kB [list of files]
armhf 28.4 kB67.0 kB [list of files]
hppa (unofficial port) 31.8 kB88.0 kB [list of files]
hurd-i386 33.8 kB87.0 kB [list of files]
i386 33.9 kB91.0 kB [list of files]
kfreebsd-amd64 31.2 kB86.0 kB [list of files]
kfreebsd-i386 33.7 kB87.0 kB [list of files]
m68k (unofficial port) 30.0 kB91.0 kB [list of files]
mips 31.2 kB95.0 kB [list of files]
mips64el 31.8 kB101.0 kB [list of files]
mipsel 31.5 kB95.0 kB [list of files]
powerpc 30.0 kB92.0 kB [list of files]
powerpcspe (unofficial port) 31.1 kB92.0 kB [list of files]
ppc64 (unofficial port) 31.1 kB158.0 kB [list of files]
ppc64el 31.4 kB156.0 kB [list of files]
s390x 30.2 kB92.0 kB [list of files]
sh4 (unofficial port) 36.6 kB87.0 kB [list of files]
sparc64 (unofficial port) 30.1 kB95.0 kB [list of files]
x32 (unofficial port) 31.3 kB84.0 kB [list of files]