Επεξεργασία

Κοινή χρήση μέσω


Vector.IsPositive<T>(Vector<T>) Method

Definition

Determines which elements in a vector represents positive real numbers.

public:
generic <typename T>
 static System::Numerics::Vector<T> IsPositive(System::Numerics::Vector<T> vector);
public static System.Numerics.Vector<T> IsPositive<T> (System.Numerics.Vector<T> vector);
static member IsPositive : System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function IsPositive(Of T) (vector As Vector(Of T)) As Vector(Of T)

Type Parameters

T

Parameters

vector
Vector<T>

The vector to be checked.

Returns

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in vector were positive.

Applies to