Edit

Share via


Vector64.Cos Method

Definition

Overloads

Cos(Vector64<Double>)

Computes the cos of each element in a vector.

Cos(Vector64<Single>)

Computes the cos of each element in a vector.

Cos(Vector64<Double>)

Computes the cos of each element in a vector.

public:
 static System::Runtime::Intrinsics::Vector64<double> Cos(System::Runtime::Intrinsics::Vector64<double> vector);
public static System.Runtime.Intrinsics.Vector64<double> Cos (System.Runtime.Intrinsics.Vector64<double> vector);
static member Cos : System.Runtime.Intrinsics.Vector64<double> -> System.Runtime.Intrinsics.Vector64<double>
Public Function Cos (vector As Vector64(Of Double)) As Vector64(Of Double)

Parameters

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

Computes the cos of each element in a vector.

public:
 static System::Runtime::Intrinsics::Vector64<float> Cos(System::Runtime::Intrinsics::Vector64<float> vector);
public static System.Runtime.Intrinsics.Vector64<float> Cos (System.Runtime.Intrinsics.Vector64<float> vector);
static member Cos : System.Runtime.Intrinsics.Vector64<single> -> System.Runtime.Intrinsics.Vector64<single>
Public Function Cos (vector As Vector64(Of Single)) As Vector64(Of Single)

Parameters

vector
Vector64<Single>

The vector that will have its Cos computed.

Returns

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

Applies to