コード例 #1
0
 public static SpecificEnergy operator *(Frequency left, KinematicViscosity right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.hertz * right.squareMetresPerSecond));
 }
コード例 #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="SpecificEnergy"/> that is the result from the division.</returns>
 public static SpecificEnergy operator /(Pressure left, Density right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.pascals / right.kilogramsPerCubicMetre));
 }
コード例 #3
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="SpecificEnergy"/> that is the result from the multiplication.</returns>
 public static SpecificEnergy operator *(Pressure left, SpecificVolume right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.pascals * right.cubicMetresPerKilogram));
 }
コード例 #4
0
 public static SpecificEnergy operator /(Energy left, Mass right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.joules / right.kilograms));
 }
コード例 #5
0
ファイル: Speed.generated.cs プロジェクト: pockees/Gu.Units
 /// <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="SpecificEnergy"/> that is the result from the multiplication.</returns>
 public static SpecificEnergy operator *(Speed left, Speed right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.metresPerSecond * right.metresPerSecond));
 }
コード例 #6
0
 public static SpecificEnergy operator /(Acceleration left, Wavenumber right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.metresPerSecondSquared / right.reciprocalMetres));
 }
コード例 #7
0
 public static SpecificEnergy operator *(Acceleration left, Length right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.metresPerSecondSquared * right.metres));
 }
コード例 #8
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="SpecificEnergy"/> that is the result from the division.</returns>
 public static SpecificEnergy operator /(Stiffness left, AreaDensity right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.newtonsPerMetre / right.kilogramsPerSquareMetre));
 }
コード例 #9
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="SpecificEnergy"/> that is the result from the division.</returns>
 public static SpecificEnergy operator /(KinematicViscosity left, Time right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.squareMetresPerSecond / right.seconds));
 }
コード例 #10
0
ファイル: Power.generated.cs プロジェクト: forki/Gu.Units
 /// <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="SpecificEnergy"/> that is the result from the division.</returns>
 public static SpecificEnergy operator /(Power left, MassFlow right)
 {
     return(SpecificEnergy.FromJoulesPerKilogram(left.watts / right.kilogramsPerSecond));
 }