Click or drag to resize

SimdSinCosNormal(Vector256Double) Method

Computes the sine and cosine of a vector of doubles.

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntax
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