uom icon indicating copy to clipboard operation
uom copied to clipboard

Units of measurement -- type-safe zero-cost dimensional analysis

Results 151 uom issues
Sort by recently updated
recently updated
newest added

Adding new quantity: MolarFlux [amount of substance /(time * area)] with basic unit mole/m2/s. Only basic unit of measurement implemented.

This PR adds new units of measure for amount of substance: "particle" as proposed in #317. New definitions and tests added for amount_of_substance, molar_energy, molar_heat_capacity, molar_concentration, catalytic_activity, and catalytic_activity_concentration. Tests...

Molar flux might be nice to have to describe flux of particles in phenomena like diffusion in gas or liquid, adsorption / desorption on surfaces, effusion from a Knudsen cell,...

It might be nice to extend the amount of substance units with "1 particle (atom/molecule/electron)" unit, being equivalent to 1 mole / N_avogadro. It will be useful for example in:...

`Ratio` and `Angle` cannot be multiplied, because of mismatching `Kind`s. Why would I want this to work? Imagine a weighted-mean function, here hard-wired for `Length`: ```rust pub fn mean_weighted_length(data: &[Length],...

This PR adds `LuminousFlux` and `Illuminance` units. Unfortunately they are dimensionally equal to `LuminousIntensity` and `Luminance`. I tried to provide a `Mul` trait implementation to construct `LuminousFlux` from `LuminousIntensity *...

See https://github.com/iliekturtles/uom/pull/313/files#r919278677. Many quantities have a common symbol that is used to represent them (e.g. Ev for `Illuminance`). This information is not currently in `uom`. Should it be?

Fix #38. Prototype implementations of 1. `&q +/- q` 2. `q +/- &q` 3. `&q +/- &q` Could you check that I'm barking up the right tree, before I try...

https://www.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/ig54zv7/ Does this affect caching?

Add a way to dynamically choose the unit when calling methods with a generic parameter `where N: Unit`. What is the best way to do this? Add methods that accept...