Vector<T>.Division 運算子

定義

多載

Division(Vector<T>, Vector<T>)

將第一個向量除以第二個。

Division(Vector<T>, T)

將向量除以純量來計算每個元素的商數。

Division(Vector<T>, Vector<T>)

來源:
Vector_1.cs
來源:
Vector_1.cs
來源:
Vector_1.cs

將第一個向量除以第二個。

public:
 static System::Numerics::Vector<T> operator /(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> operator / (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member ( / ) : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
static member ( / ) : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator / (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

參數

left
Vector<T>

第一個向量。

right
Vector<T>

第二個向量。

傳回

left 除以 right 所得到的向量。

例外狀況

.NET 5 和更新版本:不支持類型 T

備註

方法 Division 會定義物件的除法 Vector<T> 作業。

適用於

Division(Vector<T>, T)

來源:
Vector_1.cs
來源:
Vector_1.cs

將向量除以純量來計算每個元素的商數。

public:
 static System::Numerics::Vector<T> operator /(System::Numerics::Vector<T> left, T right);
public static System.Numerics.Vector<T> operator / (System.Numerics.Vector<T> left, T right);
static member ( / ) : System.Numerics.Vector<'T> * 'T -> System.Numerics.Vector<'T>
Public Shared Operator / (left As Vector(Of T), right As T) As Vector(Of T)

參數

left
Vector<T>

將除以 right的向量。

right
T

將除 left的純量。

傳回

的商 left 數除以 right

適用於