times

@JvmName(name = "velTimesTime")
operator fun Vector2d<PerUnit<DistanceUnit, TimeUnit>>.times(other: Time): Vector2d<DistanceUnit>(source)

Multiplies a velocity vector by a time duration to compute displacement.

This operator allows you to integrate velocity over time to get a displacement vector: \(\mathbf{d} = \mathbf{v} \cdot \Delta t\)

Unit Conversion

Input: Vector2d<PerUnit<DistanceUnit, TimeUnit>> (velocity, e.g., inches/second) Output: Vector2d<DistanceUnit> (displacement, e.g., inches)

Return

the displacement vector (velocity × time)

Parameters

other

the time duration to multiply by

See also

for vector operations


Multiplies an acceleration vector by a time duration to compute velocity change.

This operator allows you to integrate acceleration over time to get a velocity vector: \(\mathbf{v} = \mathbf{a} \cdot \Delta t\)

Unit Conversion

Input: Vector2d<PerUnit<PerUnit<DistanceUnit, TimeUnit>, TimeUnit>> (acceleration, e.g., inches/second²) Output: Vector2d<PerUnit<DistanceUnit, TimeUnit>> (velocity, e.g., inches/second)

Return

the velocity change vector (acceleration × time)

Parameters

other

the time duration to multiply by

See also

for vector operations