Edit

Share via


Vector128.SinCos Method

Definition

Overloads

SinCos(Vector128<Double>)

Computes the cos of each element in a vector.

SinCos(Vector128<Single>)

Computes the cos of each element in a vector.

SinCos(Vector128<Double>)

Computes the cos of each element in a vector.

public:
 static ValueTuple<System::Runtime::Intrinsics::Vector128<double>, System::Runtime::Intrinsics::Vector128<double>> SinCos(System::Runtime::Intrinsics::Vector128<double> vector);
public static (System.Runtime.Intrinsics.Vector128<double> Sin, System.Runtime.Intrinsics.Vector128<double> Cos) SinCos (System.Runtime.Intrinsics.Vector128<double> vector);
static member SinCos : System.Runtime.Intrinsics.Vector128<double> -> ValueTuple<System.Runtime.Intrinsics.Vector128<double>, System.Runtime.Intrinsics.Vector128<double>>
Public Function SinCos (vector As Vector128(Of Double)) As ValueTuple(Of Vector128(Of Double), Vector128(Of Double))

Parameters

vector
Vector128<Double>

The vector that will have its Cos computed.

Returns

A vector whose elements are the cos of the elements in vector.

Applies to

SinCos(Vector128<Single>)

Computes the cos of each element in a vector.

public:
 static ValueTuple<System::Runtime::Intrinsics::Vector128<float>, System::Runtime::Intrinsics::Vector128<float>> SinCos(System::Runtime::Intrinsics::Vector128<float> vector);
public static (System.Runtime.Intrinsics.Vector128<float> Sin, System.Runtime.Intrinsics.Vector128<float> Cos) SinCos (System.Runtime.Intrinsics.Vector128<float> vector);
static member SinCos : System.Runtime.Intrinsics.Vector128<single> -> ValueTuple<System.Runtime.Intrinsics.Vector128<single>, System.Runtime.Intrinsics.Vector128<single>>
Public Function SinCos (vector As Vector128(Of Single)) As ValueTuple(Of Vector128(Of Single), Vector128(Of Single))

Parameters

vector
Vector128<Single>

The vector that will have its Cos computed.

Returns

A vector whose elements are the cos of the elements in vector.

Applies to