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