Base class for creating objects to manage quantities as Numeric.
SI Base Quantity
Represents a Dimension or Quantity Type
Represents a quantity of some thing for which there is no dimension.
Base trait for units of squants.Dimensionless
Double (Real Number) Vector
Identifies the Unit of Measure with a conversionFactor of 1.
A base class for measurable quantities, instances of which contain a value and a unit
Represents a Range starting at one Quantity value and going up to another
Quantity Vector
Defines an interface and partial implementation for types that represent a ratio between any two quantities
Root trait for representing Vectors
A marker trait identifying SI Base Units
A market trait identifying SI Units
Provides implicit conversions that allow BigDecimals to lead in * operations
Provides implicit conversions that allow Doubles to lead in * operations
Provides implicit conversions that allow Longs to lead in * operations
A Unit of Measure that require a simple multiplier for converting to and from the underlying value's unit
A Unit of Measure is used to define the scale of a quantity measurement
Singleton defining Metric System multipliers
Factory singleton for squants.Dimensionless
Represents a unit of dozen (12)
Represents a unit of singles
Represents a unit of gross (144)
Singleton defining Metric System multipliers
Represents a number of hundredths (0.
Represents a unit of scores (20)
Squants Market API
Squants
The Scala API for Quantities, Units of Measure and Dimensional Analysis
Overview
Squants is a framework of data types and a domain specific language (DSL) for representing Quantities, their Units of Measure, and their Dimensional relationships. The API supports typesafe dimensional analysis, improved domain models and more. All types are immutable and thread-safe.
Typedefs and implicits for common usages
0.1
0.1