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

Package: units-filter (4.2.1-1 and others)

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 Version Package Size Installed Size Files
alpha (unofficial port) 4.2.1-1+b1 37.6 kB186.0 kB [list of files]
amd64 4.2.1-1+b1 39.5 kB126.0 kB [list of files]
arm64 4.2.1-1+b1 36.4 kB122.0 kB [list of files]
armel 4.2.1-1+b1 35.8 kB113.0 kB [list of files]
armhf 4.2.1-1+b1 35.7 kB101.0 kB [list of files]
hppa (unofficial port) 4.2.1-1+b1 38.7 kB114.0 kB [list of files]
i386 4.2.1-1+b1 41.2 kB124.0 kB [list of files]
ia64 (unofficial port) 4.0-1 75.2 kB283.0 kB [list of files]
m68k (unofficial port) 4.0-1 64.9 kB225.0 kB [list of files]
mips64el 4.2.1-1+b1 38.2 kB131.0 kB [list of files]
ppc64 (unofficial port) 4.2.1-1+b1 39.3 kB187.0 kB [list of files]
ppc64el 4.2.1-1+b1 39.5 kB186.0 kB [list of files]
riscv64 4.2.1-1+b2 37.9 kB110.0 kB [list of files]
s390x 4.2.1-1+b1 38.9 kB122.0 kB [list of files]
sh4 (unofficial port) 4.0-1 67.8 kB217.0 kB [list of files]
sparc64 (unofficial port) 4.0-1 63.9 kB229.0 kB [list of files]
x32 (unofficial port) 4.2.1-1+b1 38.4 kB117.0 kB [list of files]