コード例 #1
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Velocity operator /(Distance lhs, Time rhs)
 {
     return(new Velocity(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #2
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Time operator /(Distance lhs, Velocity rhs)
 {
     return(new Time(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #3
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Pressure operator /(Force lhs, Area rhs)
 {
     return(new Pressure(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #4
0
 /// <summary>
 /// Multiplies the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The product of the specified LHS and RHS.</returns>
 public static Acceleration operator /(Distance lhs, Squared <Time> rhs)
 {
     return(new Acceleration(QuantityOperations.Divide(lhs, rhs.GetResult())));
 }
コード例 #5
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Inductance operator /(MagneticFlux lhs, ElectricCurrent rhs)
 {
     return(new Inductance(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #6
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Illuminance operator /(LuminousFlux lhs, Area rhs)
 {
     return(new Illuminance(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #7
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Potential operator /(Energy lhs, Charge rhs)
 {
     return(new Potential(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #8
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Conductance operator /(ElectricCurrent lhs, Potential rhs)
 {
     return(new Conductance(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #9
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static ElectricCurrent operator /(Potential lhs, Resistance rhs)
 {
     return(new ElectricCurrent(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #10
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Resistance operator /(Potential lhs, ElectricCurrent rhs)
 {
     return(new Resistance(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #11
0
ファイル: Area.cs プロジェクト: jangocheng/Sundew.Quantities
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Distance operator /(Area lhs, Distance rhs)
 {
     return(new Distance(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #12
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Area operator /(Volume lhs, Distance rhs)
 {
     return(new Area(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #13
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Distance operator /(Volume lhs, Area rhs)
 {
     return(new Distance(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #14
0
ファイル: Power.cs プロジェクト: jangocheng/Sundew.Quantities
 /// <summary>
 /// Divides the lhs with the rhs.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>
 /// The resulting <see cref="Potential"/>.
 /// </returns>
 public static Potential operator /(Power lhs, ElectricCurrent rhs)
 {
     return(new Potential(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #15
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Force operator /(Energy lhs, Distance rhs)
 {
     return(new Force(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #16
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Pressure operator /(Mass lhs, Product <Distance, Squared <Time> > rhs)
 {
     return(new Pressure(QuantityOperations.Divide(lhs, rhs.GetResult())));
 }
コード例 #17
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Power operator /(Energy lhs, Time rhs)
 {
     return(new Power(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #18
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static Acceleration operator /(Velocity lhs, Time rhs)
 {
     return(new Acceleration(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #19
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The <see cref="ElectricCurrent"/>.</returns>
 public static ElectricCurrent operator /(Charge lhs, Time rhs)
 {
     return(new ElectricCurrent(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #20
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static MagneticFluxDensity operator /(MagneticFlux lhs, Area rhs)
 {
     return(new MagneticFluxDensity(QuantityOperations.Divide(lhs, rhs)));
 }
コード例 #21
0
 /// <summary>
 /// Divides the specified LHS and RHS.
 /// </summary>
 /// <param name="lhs">The LHS quantity.</param>
 /// <param name="rhs">The RHS quantity.</param>
 /// <returns>The quotient of the specified LHS and RHS.</returns>
 public static LuminousIntensity operator /(LuminousFlux lhs, SolidAngle rhs)
 {
     return(new LuminousIntensity(QuantityOperations.Divide(lhs, rhs)));
 }