Szerkesztés

Megosztás a következőn keresztül:


Vector.Divide Method

Definition

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:
generic <typename T>
 where T : value class static System::Numerics::Vector<T> Divide(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public:
generic <typename T>
 static System::Numerics::Vector<T> Divide(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
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);
static member Divide : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Divide : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Function Divide(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Divide(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Divide(Of T) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

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

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

Source:
Vector.cs
Source:
Vector.cs

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

public:
generic <typename T>
 static System::Numerics::Vector<T> Divide(System::Numerics::Vector<T> left, T right);
public static System.Numerics.Vector<T> Divide<T> (System.Numerics.Vector<T> left, T right);
static member Divide : System.Numerics.Vector<'T> * 'T -> System.Numerics.Vector<'T>
Public Function Divide(Of T) (left As Vector(Of T), right As T) As Vector(Of T)

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