Przeczytaj w języku angielskim Edytuj

Udostępnij za pośrednictwem


Vector.Divide Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Divide<T>(Vector<T>, Vector<T>)

Returns a new vector whose values are the result of dividing the first vector's elements by the corresponding elements in the second vector.

Divide<T>(Vector<T>, T)

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

Divide<T>(Vector<T>, Vector<T>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new vector whose values are the result of dividing the first vector's elements by the corresponding elements in the second vector.

public static System.Numerics.Vector<T> Divide<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static System.Numerics.Vector<T> Divide<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);

Type Parameters

T

The vector type. T can be any primitive numeric type.

Parameters

left
Vector<T>

The first vector.

right
Vector<T>

The second vector.

Returns

The divided vector.

Applies to

.NET 10 i inne wersje
Produkt Wersje
.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

Divide<T>(Vector<T>, T)

Source:
Vector.cs
Source:
Vector.cs

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

public static System.Numerics.Vector<T> Divide<T>(System.Numerics.Vector<T> left, T right);

Type Parameters

T

The type of the elements in the vector.

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 i inne wersje
Produkt Wersje
.NET 8, 9, 10