Complex<T>.UnaryNegation Operator

Negates a complex number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static Complex<T> operator -(
	Complex<T> z
)

Parameters

z  Complex<T>
A complex number.

Return Value

Complex<T>
A complex number that has its real and imaginary part negated.

Implements

IUnaryNegationOperators<TSelf, TResult>.UnaryNegation(TSelf)

Remarks

If you are using a language that does not support operator overloading, use the staticNegate(Complex<T>) method instead.

See Also