Breyta

Deila með


Vector.SinCos Method

Definition

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

vector
Vector<Double>

The vector that will have its sine and cosine computed.

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

vector
Vector<Single>

The vector that will have its sine and cosine computed.

Returns

A vector whose elements are the sine and cosine of the elements in vector.

Applies to