/// <summary> /// Multiplies <paramref name="left"/> with <paramref name="right"/> /// </summary> /// <param name="left">The left value</param> /// <param name="right">The right value</param> /// <returns>The <see cref="Length"/> that is the result from the multiplication.</returns> public static Length operator *(LengthPerUnitless left, Unitless right) { return(Length.FromMetres(left.metresPerUnitless * right.scalar)); }
public static Length operator *(Wavenumber left, Area right) { return(Length.FromMetres(left.reciprocalMetres * right.squareMetres)); }
/// <summary> /// Divides <paramref name="left"/> by <paramref name="right"/> /// </summary> /// <param name="left">The left value</param> /// <param name="right">The right value</param> /// <returns>The <see cref="Length"/> that is the result from the division.</returns> public static Length operator /(Energy left, Force right) { return(Length.FromMetres(left.joules / right.newtons)); }
public static Length operator /(double left, Wavenumber right) { return(Length.FromMetres(left / right.reciprocalMetres)); }