combine

open fun <A : Unit<A>?, B : Unit<B>?> combine(a: A, b: B): Mult<A, B>

Creates a new Mult unit derived from two arbitrary units multiplied together.

  Mult.combine(Volts, Meters) // Volt-Meters

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

Return

the combined unit

Parameters

<A>

the type of the first unit

<B>

the type of the second unit

a

the first unit

b

the second unit