Edit

Share via


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

Definition

Determines which elements in a vector represents negative real numbers.

public:
generic <typename T>
 static System::Numerics::Vector<T> IsNegative(System::Numerics::Vector<T> vector);
public static System.Numerics.Vector<T> IsNegative<T> (System.Numerics.Vector<T> vector);
static member IsNegative : System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function IsNegative(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 negative.

Applies to