/// <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="MagneticFlux"/> that is the result from the division.</returns> public static MagneticFlux operator /(Energy left, Current right) { return(MagneticFlux.FromWebers(left.joules / right.amperes)); }
public static MagneticFlux operator *(Current left, Inductance right) { return(MagneticFlux.FromWebers(left.amperes * right.henrys)); }
public static MagneticFlux operator *(MagneticFieldStrength left, Area right) { return(MagneticFlux.FromWebers(left.teslas * right.squareMetres)); }
/// <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="MagneticFlux"/> that is the result from the multiplication.</returns> public static MagneticFlux operator *(Time left, Voltage right) { return(MagneticFlux.FromWebers(left.seconds * right.volts)); }
/// <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="MagneticFlux"/> that is the result from the multiplication.</returns> public static MagneticFlux operator *(Resistance left, ElectricCharge right) { return(MagneticFlux.FromWebers(left.ohms * right.coulombs)); }
public bool Equals(MagneticFlux other, MagneticFlux tolerance) { Ensure.GreaterThan(tolerance.webers, 0, nameof(tolerance)); return(Math.Abs(this.webers - other.webers) < tolerance.webers); }
public static MagneticFlux operator /(ElectricCharge left, ElectricalConductance right) { return(MagneticFlux.FromWebers(left.coulombs / right.siemens)); }
public bool Equals(MagneticFlux other) { return(this.webers.Equals(other.webers)); }
public int CompareTo(MagneticFlux quantity) { return(this.webers.CompareTo(quantity.webers)); }
public static bool TryParse(string text, NumberStyles styles, IFormatProvider provider, out MagneticFlux result) { return(QuantityParser.TryParse <MagneticFluxUnit, MagneticFlux>(text, From, styles, provider, out result)); }
public static bool TryParse(string text, NumberStyles styles, out MagneticFlux result) { return(QuantityParser.TryParse <MagneticFluxUnit, MagneticFlux>(text, From, styles, CultureInfo.CurrentCulture, out result)); }
/// <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="MagneticFlux"/> that is the result from the division.</returns> public static MagneticFlux operator /(Voltage left, Frequency right) { return(MagneticFlux.FromWebers(left.volts / right.hertz)); }