/// <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));
 }
Beispiel #2
0
 public static Length operator *(Wavenumber left, Area right)
 {
     return(Length.FromMetres(left.reciprocalMetres * right.squareMetres));
 }
Beispiel #3
0
 /// <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));
 }
Beispiel #4
0
 public static Length operator /(double left, Wavenumber right)
 {
     return(Length.FromMetres(left / right.reciprocalMetres));
 }