Packages

package unitops

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait OffsetUnitConverter[N1, U1, N2, U2] extends AnyRef

    An implicit trait that supports compile-time offset unit conversion, when possible.

    An implicit trait that supports compile-time offset unit conversion, when possible. Also used to support addition, subtraction and comparisons. This implicit will not exist if U1 and U2 are not convertable to one another.

    N1

    the numeric type of the offset-unit value

    U1

    the unit expresion type of the offset-unit

    N2

    numeric type of another offset-unit value

    U2

    unit expression type of the other offset-unit

  2. trait OffsetUnitConverterDefaultPriority extends AnyRef
  3. trait OffsetUnitOrd[N1, U1, N2, U2] extends AnyRef

    An implicit trait that supports compile-time comparisons / ordering for offset quantities

    An implicit trait that supports compile-time comparisons / ordering for offset quantities

    N1

    the numeric type of the lhs

    U1

    the unit type of the rhs

    N2

    numeric type of the rhs

    U2

    unit type of the rhs

  4. trait OffsetUnitSub[N1, U1, N2, U2] extends AnyRef

    An implicit trait that supports compile-time offset unit subtraction

    An implicit trait that supports compile-time offset unit subtraction

    N1

    the numeric type of the quantity value

    U1

    the unit expresion type of the quantity

    N2

    numeric type of a RHS quantity value

    U2

    unit expression type of the RHS quantity

  5. trait ReduceToBaseUnit[U] extends AnyRef

    Resolves for any unit that is linearly reducible to a single base unit

Ungrouped