Vector.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
| Name | Description |
|---|---|
| Cos(Vector<Double>) |
Computes the cosine of each element in a vector. |
| Cos(Vector<Single>) |
Computes the cosine of each element in a vector. |
Cos(Vector<Double>)
- Source:
- Vector.cs
Computes the cosine of each element in a vector.
public:
static System::Numerics::Vector<double> Cos(System::Numerics::Vector<double> vector);
public static System.Numerics.Vector<double> Cos(System.Numerics.Vector<double> vector);
static member Cos : System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Function Cos (vector As Vector(Of Double)) As Vector(Of Double)
Parameters
Returns
A vector whose elements are the cosine of the elements in vector.
Applies to
Cos(Vector<Single>)
- Source:
- Vector.cs
Computes the cosine of each element in a vector.
public:
static System::Numerics::Vector<float> Cos(System::Numerics::Vector<float> vector);
public static System.Numerics.Vector<float> Cos(System.Numerics.Vector<float> vector);
static member Cos : System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Function Cos (vector As Vector(Of Single)) As Vector(Of Single)
Parameters
Returns
A vector whose elements are the cosine of the elements in vector.