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