Checks if the elements of one vector are equal to a constant.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<bool> EqualTo<T>(
T left,
Vector<T> right
)
Public Shared Function EqualTo(Of T) (
left As T,
right As Vector(Of T)
) As Vector(Of Boolean)
public:
generic<typename T>
static Vector<bool>^ EqualTo(
T left,
Vector<T>^ right
)
static member EqualTo :
left : 'T *
right : Vector<'T> -> Vector<bool>
Parameters
- left
- Type: T
A constant. - right
- Type: Extreme.MathematicsVectorT
A vector.
Type Parameters
- T
Return Value
Type:
VectorBooleanA boolean vector whose elements are
if
left is equal to the corresponding element in
right, and
otherwise.
Reference