แก้ไข

แชร์ผ่าน


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

Definition

Determines which elements in a vector represents positive real numbers.

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

Type Parameters

T

Parameters

vector
Vector256<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