Example #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="ForcePerUnitless"/> that is the result from the multiplication.</returns>
 public static ForcePerUnitless operator *(Stiffness left, LengthPerUnitless right)
 {
     return(ForcePerUnitless.FromNewtonsPerUnitless(left.newtonsPerMetre * right.metresPerUnitless));
 }
Example #2
0
 public static ForcePerUnitless operator /(Force left, Unitless right)
 {
     return(ForcePerUnitless.FromNewtonsPerUnitless(left.newtons / right.scalar));
 }
Example #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="ForcePerUnitless"/> that is the result from the division.</returns>
 public static ForcePerUnitless operator /(LengthPerUnitless left, Flexibility right)
 {
     return(ForcePerUnitless.FromNewtonsPerUnitless(left.metresPerUnitless / right.metresPerNewton));
 }