Muokkaa

Jaa


Vector128.Cos Method

Definition

Overloads

Cos(Vector128<Single>)

Computes the cos of each element in a vector.

Cos(Vector128<Double>)

Computes the cos of each element in a vector.

Cos(Vector128<Single>)

Computes the cos of each element in a vector.

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

Cos(Vector128<Double>)

Computes the cos of each element in a vector.

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