public readonly struct Phasor : IEquatable<Phasor>
Public Structure Phasor
Implements IEquatable(Of Phasor)
public value class Phasor : IEquatable<Phasor>
Phasor(PhasorType, Complex) | Creates a Phasor of the specified type from the given Complex. |
Phasor(PhasorType, Angle, Double) | Creates a Phasor of the specified type from the given polar values. |
Phasor(PhasorType, Double, Double) | Creates a Phasor of the specified type from the given rectangular values. |
Conjugate | Gets the complex conjugate of this Phasor. |
CalculateActivePower | Calculates active (or real) power P, i.e., total watts, from imaginary and real components of a voltage and current phasor. |
CalculateApparentPower | Calculates apparent power |S|, i.e., magnitude of complex power, from a voltage and current phasor. |
CalculateComplexPower | Calculates complex power S, i.e., total volt-amperes power vector, from a voltage and current phasor. |
CalculateReactivePower | Calculates reactive power Q, i.e., total volt-amperes of reactive power, from imaginary and real components of a voltage and current phasor. |
CalculateRelativePhase | Calculates phase φ of voltage relative to current, i.e., angle difference between current and voltage phasor. |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object)) |
Equals(Phasor) | Returns a value indicating whether this instance is equal to a specified Phasor value. |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
Pow | Returns specified Phasor raised to the specified power. |
ToString |
Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString) |
Addition(Phasor, Phasor) | Returns computed sum of values. |
Division(Phasor, Phasor) | Returns computed division of values. |
Equality(Phasor, Phasor) | Compares the two values for equality. |
Exponent(Phasor, Double) | Returns result of first value raised to power of second value. |
(Phasor to Complex) | Implicitly converts a Phasor to a Complex. |
Inequality(Phasor, Phasor) | Compares the two values for inequality. |
Multiply(Phasor, Phasor) | Returns computed product of values. |
Subtraction(Phasor, Phasor) | Returns computed difference of values. |
UnaryNegation(Phasor) | Returns the negated value. |