IComplexOperations<T, U> Interface

Represents the contract for operations on an operand type that represents complex values.

Definition

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public interface IComplexOperations<T, U> : IComplexOperations<T>, 
	IGroupOperations<T>, IComparer<T>, IEqualityComparer<T>
Implements
IComplexOperations<T>, IGroupOperations<T>, IComparer<T>, IEqualityComparer<T>

Type Parameters

T
The type of the complex operands.
U
The type of real operands.

Properties

ImaginaryOne Gets the imaginary unit, i.
(Inherited from IComplexOperations<T>)
MaxValue Gets the largest possible value of the operand type.
(Inherited from IGroupOperations<T>)
MinValue Gets the smallest possible value of the operand type.
(Inherited from IGroupOperations<T>)
Zero Gets the value of zero for the operand type T.
(Inherited from IGroupOperations<T>)

Methods

Abs Returns the absolute value of a value.
(Inherited from IGroupOperations<T>)
Add(T, U) Adds a complex number and a real number.
Add(T, T) Adds one value to another.
(Inherited from IGroupOperations<T>)
CompareCompares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Inherited from IComparer<T>)
Conjugate Returns the conjugate of a complex value.
(Inherited from IComplexOperations<T>)
ConjugateMultiply Multiplies the conjugate of the left operand with the right operand.
(Inherited from IComplexOperations<T>)
EqualsDetermines whether the specified objects are equal.
(Inherited from IEqualityComparer<T>)
FromPolar Constructs a complex number from polar components.
GetHashCodeReturns a hash code for the specified object.
(Inherited from IEqualityComparer<T>)
Magnitude Gets the modulus or absolute value of a complex number.
Negate Negates a value.
(Inherited from IGroupOperations<T>)
OneNorm Returns the sum the absolute values of the real and imaginary parts of a comples value.
(Inherited from IComplexOperations<T>)
Phase Returns the argument or phase of a complex value.
Subtract(T, U) Adds a real number from a complex number.
Subtract(U, T) Subtracts a complex number from a real number.
Subtract(T, T) Subtracts one value from another.
(Inherited from IGroupOperations<T>)

Extension Methods

Max<T> Returns the larger of two numbers.
(Defined by GenericExtensions)
Max<T> Returns the largest of three numbers.
(Defined by GenericExtensions)
Min<T> Returns the smaller of two numbers.
(Defined by GenericExtensions)
Min<T> Returns the smallest of three numbers.
(Defined by GenericExtensions)

See Also