Vector512.Cos Method

Definition

Overloads

Cos(Vector512<Double>)

Computes the cos of each element in a vector.

Cos(Vector512<Single>)

Computes the cos of each element in a vector.

Cos(Vector512<Double>)

Computes the cos of each element in a vector.

C#
public static System.Runtime.Intrinsics.Vector512<double> Cos(System.Runtime.Intrinsics.Vector512<double> vector);

Parameters

vector
Vector512<Double>

The vector that will have its Cos computed.

Returns

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

Applies to

.NET 10 and .NET 9
Product Versions
.NET 9, 10

Cos(Vector512<Single>)

Computes the cos of each element in a vector.

C#
public static System.Runtime.Intrinsics.Vector512<float> Cos(System.Runtime.Intrinsics.Vector512<float> vector);

Parameters

vector
Vector512<Single>

The vector that will have its Cos computed.

Returns

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

Applies to

.NET 10 and .NET 9
Product Versions
.NET 9, 10