Vector128.Cos Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
A vector whose elements are the cos of the elements in vector
.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.