Displaying 1 to 9 from 9 results

coulomb - coulomb: a statically typed unit analysis library for Scala

  •    Scala

coulomb is a library for "static units", and 'coulomb' is the "unit of static" (aka charge). There is also a tutorial below.

rink-rs - Unit conversion tool and library written in rust

  •    Rust

Rink is a unit-aware calculator. It can be used for physics and engineering calculations, as well as dimensionality analysis. Rink supports most systems of measurements including SI, CGS, natural, international customary, US customary, UK customary, as well as historical measurements. In addition, Rink supports currency conversions.

Rate - A type-safe ratio of Foundation unit quantities.

  •    Swift

A ratio of two related quantities, expressed in terms of an amount of numerator unit per single denominator unit. This functionality is discussed in Chapter 5 of Flight School Guide to Swift Numbers.

PhysUnits-CT-Cpp11 - A small C++11, C++14 header-only library for compile-time dimensional analysis and unit/quantity manipulation and conversion

  •    C++

A small C++11 header-only library for compile-time dimensional analysis and unit/quantity manipulation and conversion. This library is based on the quantity compile-time library by Michael S. Kenniston[1] and expanded and adapted for C++11 by Martin Moene.




dimensioned - Compile-time dimensional analysis for various unit systems using Rust's type system

  •    Rust

A Rust library for compile-time dimensional analysis. Its goal is to provide zero cost unit safety while requiring minimal effort from the programmer.

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

  •    Rust

Rather than working with measurement units (meter, kilometer, foot, mile, ...) uom works with quantities (length, mass, time, ...). This simplifies usage because units are only involved at interface boundaries: the rest of your code only needs to be concerned about the quantities involved. This also makes operations on quantities (+, -, *, /, ...) have zero runtime cost1 over using the raw storage type (e.g. f32). uom normalizes values to the base unit for the quantity. Alternative base units can be used by executing the macro defined for the system of quantities (ISQ! for the SI). uom supports usize, u8, u16, u32, u64, isize, i8, i16, i32, i64, bigint, biguint, rational, rational32, rational64, bigrational, f32, and f64 as the underlying storage type.

units-of-measure - Type-safe dimensional analysis and unit conversion in Kotlin.

  •    Kotlin

A DSL for type-safe dimensional analysis and unit conversion in Kotlin. Please look at this sample code for DSL usage. Configuration documentation can be found on the wiki.


mitama-dimensional - C++17 Library for dimensional analysis based on variadic Phantom-Type.

  •    C++

Header-only C++17 library provides dimensional analysis based on variadic Phantom-Type. Please refer to the document for more details. You should add include directory include/.