Negates a DoubleComplex number.

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Negate ( _
	z As DoubleComplex _
) As DoubleComplex
C#
public static DoubleComplex Negate (
	DoubleComplex z
)
C++
public:
static DoubleComplex Negate (
	DoubleComplex z
)

Parameters

z (Extreme.Mathematics.DoubleComplex)
A DoubleComplex number.

Return Value

A DoubleComplex number that has its real and imaginary part negated.

Remarks

This method is equivalent to the UnaryNegation(DoubleComplex). It is provided for languages that do not support operator overloading.