Edit

Share via


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

Definition

Determines which elements in a vector are NaN.

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

Applies to