all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: units-filter  ]

Package: units-filter (4.0-1)

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
amd64 66.8 kB231.0 kB [list of files]
arm64 64.4 kB219.0 kB [list of files]
armel 63.4 kB214.0 kB [list of files]
armhf 63.6 kB202.0 kB [list of files]
i386 68.5 kB229.0 kB [list of files]
mips64el 66.3 kB236.0 kB [list of files]
mipsel 66.3 kB229.0 kB [list of files]
ppc64el 67.4 kB291.0 kB [list of files]
s390x 64.8 kB226.0 kB [list of files]