Simd.SinCosNormal(Vector256<Double>) Method

Computes the sine and cosine of a vector of doubles.

Definition

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public static (Vector256<double> Sin, Vector256<double> Cos) SinCosNormal(
	this Vector256<double> x
)

Parameters

x  Vector256<Double>
AVX256 argument. Each component must be in the range [0, 2π].

Return Value

ValueTuple<Vector256<Double>, Vector256<Double>>
A tuple with the sine and the cosine.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector256<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method assume that each argument is in the range [0, Math.Tau]. That is the range of values supplied by the standard distribution generator.

See Also