Прочетете на английски Редактиране

Споделяне чрез


Vector<T>.Division Operator

Definition

Overloads

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

Divides the first vector by the second.

Division(Vector<T>, T)

Divides a vector by a scalar to compute the per-element quotient.

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

Source:
Vector_1.cs
Source:
Vector_1.cs
Source:
Vector_1.cs

Divides the first vector by the second.

C#
public static System.Numerics.Vector<T> operator /(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);

Parameters

left
Vector<T>

The first vector.

right
Vector<T>

The second vector.

Returns

The vector that results from dividing left by right.

Exceptions

.NET 5 and later: Type T is not supported.

Remarks

The Division method defines the division operation for Vector<T> objects.

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

Division(Vector<T>, T)

Source:
Vector_1.cs
Source:
Vector_1.cs

Divides a vector by a scalar to compute the per-element quotient.

C#
public static System.Numerics.Vector<T> operator /(System.Numerics.Vector<T> left, T right);

Parameters

left
Vector<T>

The vector that will be divided by right.

right
T

The scalar that will divide left.

Returns

The quotient of left divided by right.

Applies to

.NET 10 и други версии
Продукт Версии
.NET 8, 9, 10