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+892c66cd78254e5a7ad663c063da400b3042cf5b
Syntax
C#
public static (Vector256<double> Sin, Vector256<double> Cos) SinCosNormal(
	this Vector256<double> x
)

Parameters

x  Vector256Double
A double vector with four elements.

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