Vector.CopySign<T>(Vector<T>, Vector<T>) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir vektörünün öğe başına işaretini başka bir vektörünün öğe başına işaretine kopyalar.
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)
Tür Parametreleri
- T
Vektördeki öğelerin türü.
Parametreler
- value
- Vector<T>
Sonuçta büyüklüğü kullanılan vektör.
- sign
- Vector<T>
Sonuçta işareti kullanılan vektör.
Döndürülenler
büyüklüğünü value ve işaretini signiçeren bir vektör.