public static ComplexValue Negate(ComplexValue x) { return(new ComplexValue(Complex.Negate(x.value))); }
public static ComplexValue Power(ComplexValue x, ComplexValue exponent) { return(new ComplexValue(Complex.Pow(x.value, exponent.value))); }
public static ComplexValue Divide(ComplexValue x, ComplexValue y) { return(new ComplexValue(x.value / y.value)); }
public static ComplexValue Multiply(ComplexValue x, ComplexValue y) { return(new ComplexValue(x.value * y.value)); }
public static ComplexValue Subtract(ComplexValue x, ComplexValue y) { return(new ComplexValue(x.value - y.value)); }
public static ComplexValue Add(ComplexValue x, ComplexValue y) { return(new ComplexValue(x.value + y.value)); }
public static bool TryParse(string text, [MaybeNullWhen(false)] out ComplexValue complexValue) { return(TryParse(text, null, out complexValue)); }