Nyelv

Complex<T> Struktúra

Definíció

generic <typename T>
 where T : IFloatingPointIeee754<T>, IMinMaxValue<T>public value class Complex : IEquatable<System::Numerics::Complex<T>>, IParsable<System::Numerics::Complex<T>>, ISpanParsable<System::Numerics::Complex<T>>, IUtf8SpanParsable<System::Numerics::Complex<T>>, System::Numerics::IAdditionOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::IAdditiveIdentity<System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::IDecrementOperators<System::Numerics::Complex<T>>, System::Numerics::IDivisionOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::IEqualityOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>, bool>, System::Numerics::IIncrementOperators<System::Numerics::Complex<T>>, System::Numerics::IMultiplicativeIdentity<System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::IMultiplyOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::INumberBase<System::Numerics::Complex<T>>, System::Numerics::ISignedNumber<System::Numerics::Complex<T>>, System::Numerics::ISubtractionOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::IUnaryNegationOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>>, System::Numerics::IUnaryPlusOperators<System::Numerics::Complex<T>, System::Numerics::Complex<T>>
public readonly struct Complex<T> : IEquatable<System.Numerics.Complex<T>>, IParsable<System.Numerics.Complex<T>>, ISpanParsable<System.Numerics.Complex<T>>, IUtf8SpanParsable<System.Numerics.Complex<T>>, System.Numerics.IAdditionOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.IAdditiveIdentity<System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.IDecrementOperators<System.Numerics.Complex<T>>, System.Numerics.IDivisionOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.IEqualityOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>,bool>, System.Numerics.IIncrementOperators<System.Numerics.Complex<T>>, System.Numerics.IMultiplicativeIdentity<System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.IMultiplyOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.INumberBase<System.Numerics.Complex<T>>, System.Numerics.ISignedNumber<System.Numerics.Complex<T>>, System.Numerics.ISubtractionOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.IUnaryNegationOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>>, System.Numerics.IUnaryPlusOperators<System.Numerics.Complex<T>,System.Numerics.Complex<T>> where T : IFloatingPointIeee754<T>, IMinMaxValue<T>
type Complex<'T (requires 'T :> IFloatingPointIeee754<'T> and 'T :> IMinMaxValue<'T>)> = struct
    interface IFormattable
    interface IParsable<Complex<'T>>
    interface ISpanFormattable
    interface ISpanParsable<Complex<'T>>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<Complex<'T>>
    interface IAdditionOperators<Complex<'T>, Complex<'T>, Complex<'T>>
    interface IAdditiveIdentity<Complex<'T>, Complex<'T>>
    interface IDecrementOperators<Complex<'T>>
    interface IDivisionOperators<Complex<'T>, Complex<'T>, Complex<'T>>
    interface IEqualityOperators<Complex<'T>, Complex<'T>, bool>
    interface IIncrementOperators<Complex<'T>>
    interface IMultiplicativeIdentity<Complex<'T>, Complex<'T>>
    interface IMultiplyOperators<Complex<'T>, Complex<'T>, Complex<'T>>
    interface INumberBase<Complex<'T>>
    interface ISubtractionOperators<Complex<'T>, Complex<'T>, Complex<'T>>
    interface IUnaryNegationOperators<Complex<'T>, Complex<'T>>
    interface IUnaryPlusOperators<Complex<'T>, Complex<'T>>
    interface ISignedNumber<Complex<'T>>
Public Structure Complex(Of T)
Implements IAdditionOperators(Of Complex(Of T), Complex(Of T), Complex(Of T)), IAdditiveIdentity(Of Complex(Of T), Complex(Of T)), IDecrementOperators(Of Complex(Of T)), IDivisionOperators(Of Complex(Of T), Complex(Of T), Complex(Of T)), IEqualityOperators(Of Complex(Of T), Complex(Of T), Boolean), IEquatable(Of Complex(Of T)), IIncrementOperators(Of Complex(Of T)), IMultiplicativeIdentity(Of Complex(Of T), Complex(Of T)), IMultiplyOperators(Of Complex(Of T), Complex(Of T), Complex(Of T)), INumberBase(Of Complex(Of T)), IParsable(Of Complex(Of T)), ISignedNumber(Of Complex(Of T)), ISpanParsable(Of Complex(Of T)), ISubtractionOperators(Of Complex(Of T), Complex(Of T), Complex(Of T)), IUnaryNegationOperators(Of Complex(Of T), Complex(Of T)), IUnaryPlusOperators(Of Complex(Of T), Complex(Of T)), IUtf8SpanParsable(Of Complex(Of T))

Típusparaméterek

T
Öröklődés
Complex<T>
Megvalósítás

Konstruktorok

Name Description
Complex<T>(T, T)

Tulajdonságok

Name Description
Imaginary
ImaginaryOne
Infinity
NaN
One
Real
Zero

Metódusok

Name Description
Abs(Complex<T>)
Acos(Complex<T>)
Add(Complex<T>, Complex<T>)
Add(Complex<T>, T)
Add(T, Complex<T>)
Asin(Complex<T>)
Atan(Complex<T>)
Conjugate(Complex<T>)
Cos(Complex<T>)
Cosh(Complex<T>)
CreateChecked<TOther>(TOther)
CreateSaturating<TOther>(TOther)
CreateTruncating<TOther>(TOther)
Divide(Complex<T>, Complex<T>)
Divide(Complex<T>, T)
Divide(T, Complex<T>)
Equals(Complex<T>)
Equals(Object)
Exp(Complex<T>)
FromPolarCoordinates(T, T)
GetHashCode()
GetMagnitude()
GetPhase()
IsComplexNumber(Complex<T>)
IsEvenInteger(Complex<T>)
IsFinite(Complex<T>)
IsImaginaryNumber(Complex<T>)
IsInfinity(Complex<T>)
IsInteger(Complex<T>)
IsNaN(Complex<T>)
IsNegative(Complex<T>)
IsNegativeInfinity(Complex<T>)
IsNormal(Complex<T>)
IsOddInteger(Complex<T>)
IsPositive(Complex<T>)
IsPositiveInfinity(Complex<T>)
IsRealNumber(Complex<T>)
IsSubnormal(Complex<T>)
Log(Complex<T>, T)
Log(Complex<T>)
Log10(Complex<T>)
MaxMagnitude(Complex<T>, Complex<T>)
MinMagnitude(Complex<T>, Complex<T>)
Multiply(Complex<T>, Complex<T>)
Multiply(Complex<T>, T)
Multiply(T, Complex<T>)
Negate(Complex<T>)
Parse(ReadOnlySpan<Byte>, IFormatProvider)
Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan<Char>, IFormatProvider)
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)
Parse(String, IFormatProvider)
Parse(String, NumberStyles, IFormatProvider)
Pow(Complex<T>, Complex<T>)
Pow(Complex<T>, T)
Reciprocal(Complex<T>)
Sin(Complex<T>)
Sinh(Complex<T>)
Sqrt(Complex<T>)
Subtract(Complex<T>, Complex<T>)
Subtract(Complex<T>, T)
Subtract(T, Complex<T>)
Tan(Complex<T>)
Tanh(Complex<T>)
ToString()
ToString(IFormatProvider)
ToString(String, IFormatProvider)
ToString(String)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryParse(ReadOnlySpan<Byte>, IFormatProvider, Complex<T>)
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Complex<T>)
TryParse(ReadOnlySpan<Char>, IFormatProvider, Complex<T>)
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Complex<T>)
TryParse(String, IFormatProvider, Complex<T>)
TryParse(String, NumberStyles, IFormatProvider, Complex<T>)
TryParsePartial(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Complex<T>, Int32)
TryParsePartial(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Complex<T>, Int32)
TryParsePartial(String, NumberStyles, IFormatProvider, Complex<T>, Int32)

Operátorok

Name Description
Addition(Complex<T>, Complex<T>)
Addition(Complex<T>, T)
Addition(T, Complex<T>)
Decrement(Complex<T>)
Division(Complex<T>, Complex<T>)
Division(Complex<T>, T)
Division(T, Complex<T>)
Equality(Complex<T>, Complex<T>)
Implicit(T to Complex<T>)
Increment(Complex<T>)
Inequality(Complex<T>, Complex<T>)
Multiply(Complex<T>, Complex<T>)
Multiply(Complex<T>, T)
Multiply(T, Complex<T>)
Subtraction(Complex<T>, Complex<T>)
Subtraction(Complex<T>, T)
Subtraction(T, Complex<T>)
UnaryNegation(Complex<T>)
UnaryPlus(Complex<T>)

Explicit interfész-implementációk

Name Description
IAdditiveIdentity<Complex<T>,Complex<T>>.AdditiveIdentity
IMultiplicativeIdentity<Complex<T>,Complex<T>>.MultiplicativeIdentity
INumberBase<Complex<T>>.Abs(Complex<T>)
INumberBase<Complex<T>>.IsCanonical(Complex<T>)
INumberBase<Complex<T>>.IsZero(Complex<T>)
INumberBase<Complex<T>>.MaxMagnitudeNumber(Complex<T>, Complex<T>)
INumberBase<Complex<T>>.MinMagnitudeNumber(Complex<T>, Complex<T>)
INumberBase<Complex<T>>.MultiplyAddEstimate(Complex<T>, Complex<T>, Complex<T>)
INumberBase<Complex<T>>.Radix
INumberBase<Complex<T>>.TryConvertFromChecked<TOther>(TOther, Complex<T>)
INumberBase<Complex<T>>.TryConvertFromSaturating<TOther>(TOther, Complex<T>)
INumberBase<Complex<T>>.TryConvertFromTruncating<TOther>(TOther, Complex<T>)
INumberBase<Complex<T>>.TryConvertToChecked<TOther>(Complex<T>, TOther)
INumberBase<Complex<T>>.TryConvertToSaturating<TOther>(Complex<T>, TOther)
INumberBase<Complex<T>>.TryConvertToTruncating<TOther>(Complex<T>, TOther)
ISignedNumber<Complex<T>>.NegativeOne

A következőre érvényes: