แก้ไข

แชร์ผ่าน


Vector256.Cos Method

Definition

Overloads

Cos(Vector256<Double>)

Computes the cos of each element in a vector.

Cos(Vector256<Single>)

Computes the cos of each element in a vector.

Cos(Vector256<Double>)

Computes the cos of each element in a vector.

public:
 static System::Runtime::Intrinsics::Vector256<double> Cos(System::Runtime::Intrinsics::Vector256<double> vector);
public static System.Runtime.Intrinsics.Vector256<double> Cos (System.Runtime.Intrinsics.Vector256<double> vector);
static member Cos : System.Runtime.Intrinsics.Vector256<double> -> System.Runtime.Intrinsics.Vector256<double>
Public Function Cos (vector As Vector256(Of Double)) As 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

Cos(Vector256<Single>)

Computes the cos of each element in a vector.

public:
 static System::Runtime::Intrinsics::Vector256<float> Cos(System::Runtime::Intrinsics::Vector256<float> vector);
public static System.Runtime.Intrinsics.Vector256<float> Cos (System.Runtime.Intrinsics.Vector256<float> vector);
static member Cos : System.Runtime.Intrinsics.Vector256<single> -> System.Runtime.Intrinsics.Vector256<single>
Public Function Cos (vector As Vector256(Of Single)) As 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