Edit

Share via


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

Definition

Determines which elements in a vector are zero.

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

Applies to