Edit

Share via


ITrigonometricFunctions<TSelf> Interface

Definition

Defines support for trigonometric functions.

C#
public interface ITrigonometricFunctions<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 : ITrigonometricFunctions<TSelf>
C#
public interface ITrigonometricFunctions<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 : ITrigonometricFunctions<TSelf>

Type Parameters

TSelf

The type that implements this interface.

Derived
Implements

Methods

Acos(TSelf)

Computes the arc-cosine of a value.

AcosPi(TSelf)

Computes the arc-cosine of a value and divides the result by pi.

Asin(TSelf)

Computes the arc-sine of a value.

AsinPi(TSelf)

Computes the arc-sine of a value and divides the result by pi.

Atan(TSelf)

Computes the arc-tangent of a value.

AtanPi(TSelf)

Computes the arc-tangent of a value and divides the result by pi.

Cos(TSelf)

Computes the cosine of a value.

CosPi(TSelf)

Computes the cosine of a value that has been multipled by pi.

DegreesToRadians(TSelf)

Converts a given value from degrees to radians.

Equals(T)

Indicates whether the current object is equal to another object of the same type.

(Inherited from IEquatable<T>)
RadiansToDegrees(TSelf)

Converts a given value from radians to degrees.

Sin(TSelf)

Computes the sine of a value.

SinCos(TSelf)

Computes the sine and cosine of a value.

SinCosPi(TSelf)

Computes the sine and cosine of a value that has been multiplied by pi.

SinPi(TSelf)

Computes the sine of a value that has been multiplied by pi.

Tan(TSelf)

Computes the tangent of a value.

TanPi(TSelf)

Computes the tangent of a value that has been multipled by pi.

ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.

(Inherited from IFormattable)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to format the value of the current instance as UTF-8 into the provided span of bytes.

(Inherited from IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to format the value of the current instance into the provided span of characters.

(Inherited from ISpanFormattable)

Explicit Interface Implementations

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

Tries to format the value of the current instance as UTF-8 into the provided span of bytes.

(Inherited from INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

Parses a span of UTF-8 characters into a value.

(Inherited from INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

Tries to parse a span of UTF-8 characters into a value.

(Inherited from INumberBase<TSelf>)

Applies to

Product Versions
.NET 7, 8, 9