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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.