Exemplo n.º 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 Density that is the result from the division.</returns>
 public static Density operator /(double left, SpecificVolume right)
 {
     return(Density.FromKilogramsPerCubicMetre(left / right.cubicMetresPerKilogram));
 }
Exemplo n.º 2
0
 public static Density operator /(Pressure left, SpecificEnergy right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.pascals / right.joulesPerKilogram));
 }
Exemplo n.º 3
0
 public static Density operator /(Mass left, Volume right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.kilograms / right.cubicMetres));
 }
Exemplo n.º 4
0
 public static Density operator *(Wavenumber left, AreaDensity right)
 {
     return(Density.FromKilogramsPerCubicMetre(left.reciprocalMetres * right.kilogramsPerSquareMetre));
 }