Поделиться через


IRootFunctions<TSelf> Интерфейс

Определение

Определяет поддержку корневых функций.

generic <typename TSelf>
 where TSelf : IRootFunctions<TSelf>public interface class IRootFunctions : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, TSelf>, System::Numerics::IDecrementOperators<TSelf>, System::Numerics::IDivisionOperators<TSelf, TSelf, TSelf>, System::Numerics::IEqualityOperators<TSelf, TSelf, bool>, System::Numerics::IFloatingPointConstants<TSelf>, System::Numerics::IIncrementOperators<TSelf>, System::Numerics::IMultiplicativeIdentity<TSelf, TSelf>, System::Numerics::IMultiplyOperators<TSelf, TSelf, TSelf>, System::Numerics::INumberBase<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
generic <typename TSelf>
 where TSelf : IRootFunctions<TSelf>public interface class IRootFunctions : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, TSelf>, System::Numerics::IDecrementOperators<TSelf>, System::Numerics::IDivisionOperators<TSelf, TSelf, TSelf>, System::Numerics::IEqualityOperators<TSelf, TSelf, bool>, System::Numerics::IFloatingPointConstants<TSelf>, System::Numerics::IIncrementOperators<TSelf>, System::Numerics::IMultiplicativeIdentity<TSelf, TSelf>, System::Numerics::IMultiplyOperators<TSelf, TSelf, TSelf>, System::Numerics::INumberBase<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
public interface IRootFunctions<TSelf> : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IFloatingPointConstants<TSelf>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IRootFunctions<TSelf>
public interface IRootFunctions<TSelf> : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IFloatingPointConstants<TSelf>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IRootFunctions<TSelf>
type IRootFunctions<'Self (requires 'Self :> IRootFunctions<'Self>)> = interface
    interface IFloatingPointConstants<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface INumberBase<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IEquatable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
type IRootFunctions<'Self (requires 'Self :> IRootFunctions<'Self>)> = interface
    interface IFloatingPointConstants<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface INumberBase<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IEquatable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
type IRootFunctions<'Self (requires 'Self :> IRootFunctions<'Self>)> = interface
    interface IFloatingPointConstants<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IEquatable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface INumberBase<'Self (requires 'Self :> IRootFunctions<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IRootFunctions<'Self> and 'Self :> IRootFunctions<'Self>)>
Public Interface IRootFunctions(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IFloatingPointConstants(Of TSelf), IIncrementOperators(Of TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf)
Public Interface IRootFunctions(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IFloatingPointConstants(Of TSelf), IIncrementOperators(Of TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf), IUtf8SpanParsable(Of TSelf)

Параметры типа

TSelf

Тип, реализующий этот интерфейс.

Производный
Реализации

Методы

Cbrt(TSelf)

Вычисляет корень куба значения.

Equals(T)

Указывает, равен ли текущий объект другому объекту того же типа.

(Унаследовано от IEquatable<T>)
Hypot(TSelf, TSelf)

Вычисляет гипотенуз с двумя значениями, представляющими длину более коротких сторон в правом углу треугольника.

RootN(TSelf, Int32)

Вычисляет корень n-го значения.

Sqrt(TSelf)

Вычисляет квадратный корень значения.

ToString(String, IFormatProvider)

Форматирует значение текущего экземпляра с помощью указанного формата.

(Унаследовано от IFormattable)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Пытается отформатировать значение текущего экземпляра как UTF-8 в предоставленный диапазон байтов.

(Унаследовано от IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Пытается отформатировать значение текущего экземпляра в предоставленный диапазон символов.

(Унаследовано от ISpanFormattable)

Явные реализации интерфейса

IUtf8SpanFormattable.TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Пытается отформатировать значение текущего экземпляра как UTF-8 в предоставленный диапазон байтов.

(Унаследовано от INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

Анализирует диапазон символов UTF-8 в значение.

(Унаследовано от INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

Пытается проанализировать диапазон символов UTF-8 в значение.

(Унаследовано от INumberBase<TSelf>)

Применяется к