Unit division.
Unit multiplication.
Supertype of all affine spaces.
Supertype of all affine spaces.
Affine space is similar to a vector space, but it does not contain a distinguished origin point. In order to manipulate points from the affine space, we have to pick the origin (aka the zero point) ourselves.
Examples of affine spaces are temperature scales, time, (physical) space, and so on.
Double-precision floating-point value representing a point in a 1-dimensional affine space.
Double-precision floating-point value representing a value with a unit of measure.
Extention methods for Double.
64-bit signed integer representing a point in a 1-dimensional affine space.
64-bit signed integer representing a value with a unit of measure.
Extention methods for Long.
Supertype of all units of measure.
Represents a system of units of measurements consisting of 1 unit.
Represents a system of units of measurements consisting of 2 units.
Represents a system of units of measurements consisting of 3 units.
Represents a system of units of measurements consisting of 4 units.
Represents a system of units of measurements consisting of 5 units.
Represents a system of units of measurements consisting of 6 units.
Represents a system of units of measurements consisting of 7 units.
Represents a system of units of measurements consisting of 8 units.
A two-dimensional vector within an affine space
A two-dimensional vector with a unit
A three-dimensional vector within an affine space
A three-dimensional vector with a unit
A value within an affine space.
A value within an affine space.
Warning: this is an experimental feature and may be subject to removal or severe redesign.
A value with a unit of measure.
A value with a unit of measure.
Warning: this is an experimental feature and may be subject to removal or severe redesign.
Extension methods for everything
Unit dimensionless values have, which is 1.
Takes unit to the third power.
Gets inverse of a unit.
Gets inverse of a unit. inverse[second]
is equivalent to hertz
.
Gets inverse of the third power a unit.
Gets inverse of the fourth power a unit.
Gets inverse of the fifth power a unit.
Gets inverse of the second power a unit.
Takes unit to the fourth power.
Takes unit to the fifth power.
Takes unit to the second power.
Unit multiplication.
Some of currencies of the world.
Units of information.
Abstract definition of mechanical units, for use with explicit polymorphism.
SI units.
US customary and British units and their conversions to SI.
Package containing helper types and methods for defining new units and ratios between units.
Package containing helper types and methods for defining new units and ratios between units.
It also contains a set of type-level characters, used for defining type-level unit identifiers.
Usage:
import io.github.karols.units.defining._
Main package of the library.
Importing
io.github.karols.units._
brings into scope most of its features.