Exemple #1
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="Density"/> that is the result from the division.</returns>
 public static Density operator /(Mass left, Volume right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.kilograms / right.cubicMetres));
 }
Exemple #2
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="Density"/> that is the result from the division.</returns>
 public static Density operator /(MassFlow left, VolumetricFlow right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.kilogramsPerSecond / right.cubicMetresPerSecond));
 }
Exemple #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="Density"/> that is the result from the division.</returns>
 public static Density operator /(Pressure left, SpecificEnergy right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.pascals / right.joulesPerKilogram));
 }
 /// <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="Density"/> that is the result from the multiplication.</returns>
 public static Density operator *(Wavenumber left, AreaDensity right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.reciprocalMetres * right.kilogramsPerSquareMetre));
 }
 /// <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="Density"/> that is the result from the division.</returns>
 public static Density operator /(AreaDensity left, Length right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.kilogramsPerSquareMetre / right.metres));
 }
 public static Density operator /(double left, SpecificVolume right)
 {
     return(Density.FromKilogramsPerCubicMetre(left / right.cubicMetresPerKilogram));
 }