संपादित करें

इसके माध्यम से साझा किया गया


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.

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)

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

Division(Vector<T>, T)

Source:
Vector_1.cs
Source:
Vector_1.cs

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

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)

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