of

fun <N : Unit<N>, D : Unit<D>> of(numerator: N, denominator: D): PerUnit<N, D>(source)

Generic factory returns a cached PerUnit for the given numerator and denominator.