Factor

data class Factor(val specification: UnitSpecification<*>, val powerValue: Double = 1.0) : Comparable<Factor>

Describes one dimension of unit as logical pair of specification and powerValue.

Constructors

Link copied to clipboard
constructor(specification: UnitSpecification<*>, powerValue: Double = 1.0)

Functions

Link copied to clipboard
open operator override fun compareTo(other: Factor): Int

Compares two factor objects

Properties

Link copied to clipboard
val powerValue: Double = 1.0
Link copied to clipboard