per

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

Creates a velocity unit derived from this one. Can be chained to denote velocity, acceleration, jerk, etc.

Meters.per(Second) // linear velocity
Kilograms.per(Second) // mass flow
Feet.per(Second).per(Second).of(32) // roughly 1G of acceleration

Return

a velocity unit corresponding to the rate of change of this unit over time

Parameters

period

the time period of the velocity, such as seconds or milliseconds


infix fun <D : Unit<D>> per(denominator: D): Per<U, D>

Takes this unit and creates a new proportional unit where this unit is the numerator and the given denominator is the denominator.

Volts.per(Meter) // V/m

Return

a combined proportional unit

Parameters

the type of the denominator units
denominator

the denominator of the proportional unit