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)

定义对根函数的支持。

(继承自 INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

将 UTF-8 字符范围分析为值。

(继承自 INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

尝试将 UTF-8 字符范围解析为值。

(继承自 INumberBase<TSelf>)

适用于