SimdSinCosNormal(Vector256Double) 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+d1268756e036101f601080f153b3997e72fc912d
C#
public static (Vector256<double> Sin, Vector256<double> Cos) SinCosNormal(
	this Vector256<double> x
)

Parameters

x  Vector256Double
AVX256 argument. Each component must be in the range [0, 2π].

Return Value

ValueTupleVector256Double, Vector256Double
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 Vector256Double. 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