combine

open fun <N : Unit<N>?, D : Unit<D>?> combine(numerator: N, denominator: D): Per<N, D>

Creates a new Per unit derived from an arbitrary numerator and time denominator units. Using a denominator with a unit of time is discouraged; use Velocity instead.

  Per.combine(Volts, Meters) // possible PID constant

It's recommended to use the convenience function per instead of calling this factory directly.

Return

the combined unit

Parameters

<N>

the type of the numerator unit

<D>

the type of the denominator unit

numerator

the numerator unit

denominator

the denominator for unit time