per

open infix fun per(period: Measure<Time>): Measure<Velocity<U>>

Creates a velocity measure by dividing this one by a time period measure.

Meters.of(1).per(Second) // Measure<Velocity<Distance>>

Return

the velocity result

Parameters

period

the time period to divide by.


open infix fun <U2 : Unit<U2>> per(denominator: U2): Measure<Per<U, U2>>

Creates a relational measure equivalent to this one per some other unit.

Volts.of(1.05).per(Meter) // V/m, potential PID constant

Return

the relational measure

Parameters

the type of the denominator unit
denominator

the denominator unit being divided by


open infix fun per(time: Time): Measure<Velocity<U>>

Creates a velocity measure equivalent to this one per a unit of time.

Radians.of(3.14).per(Second) // Velocity&lt;Angle&gt; equivalent to RadiansPerSecond.of(3.14)

Return

the velocity measure

Parameters

time

the unit of time