Bewerken

Delen via


Vector256.SinCos Method

Definition

Overloads

SinCos(Vector256<Double>)

Computes the cos of each element in a vector.

SinCos(Vector256<Single>)

Computes the cos of each element in a vector.

SinCos(Vector256<Double>)

Computes the cos of each element in a vector.

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

Parameters

vector
Vector256<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(Vector256<Single>)

Computes the cos of each element in a vector.

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

Parameters

vector
Vector256<Single>

The vector that will have its Cos computed.

Returns

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

Applies to