IRootFunctions<TSelf> 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義根函式的支援。
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
實作這個介面的型別。
- 衍生
- 實作
-
IEquatable<TSelf> IFormattable IParsable<TSelf> ISpanFormattable ISpanParsable<TSelf> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<TSelf,TSelf> IDecrementOperators<TSelf> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<TSelf,TSelf,Boolean> IFloatingPointConstants<TSelf> IIncrementOperators<TSelf> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<TSelf,TSelf,TSelf> INumberBase<TSelf> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf>
方法
Cbrt(TSelf) |
計算值的 Cube 根目錄。 |
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>) |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應