Vector.CopySign<T>(Vector<T>, Vector<T>) Metoda

Definicja

Kopiuje znak każdego elementu wektora do znaku poszczególnych elementów innego wektora.

public:
generic <typename T>
 static System::Numerics::Vector<T> CopySign(System::Numerics::Vector<T> value, System::Numerics::Vector<T> sign);
public static System.Numerics.Vector<T> CopySign<T>(System.Numerics.Vector<T> value, System.Numerics.Vector<T> sign);
static member CopySign : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function CopySign(Of T) (value As Vector(Of T), sign As Vector(Of T)) As Vector(Of T)

Parametry typu

T

Typ elementów w wektorze.

Parametry

value
Vector<T>

Wektor, którego wielkość jest używana w wyniku.

sign
Vector<T>

Wektor, którego znak jest używany w wyniku.

Zwraca

Wektor o wielkości value i znak .sign

Dotyczy