Vector<T>.Division 运算符

定义

重载

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

将第一个向量除以第二个向量。

Division(Vector<T>, T)

将向量除以标量以计算每个元素的商。

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

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
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)

Source:
Vector_1.cs
Source:
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

适用于