Vector.Not Equal To Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Not | Checks if the elements of one vector are not equal to a constant. |
Not | Checks if the elements of one vector are not equal to the corresponding elements of another vector. |
Not | Checks if the elements of one vector are not equal to a constant. |
Not | Checks if the elements of one vector are not equal to the corresponding elements of another vector. |
NotEqualTo<T>(Vector<T>, T)
Checks if the elements of one vector are not equal to a constant.
public static Vector<bool> NotEqualTo<T>(
Vector<T> left,
T right
)
Parameters
- left Vector<T>
- A vector.
- right T
- A constant.
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in left is not equal to right, and false otherwise.
Exceptions
Argument | left is null. |
NotEqualTo<T>(Vector<T>, Vector<T>)
Checks if the elements of one vector are not equal to the corresponding elements
of another vector.
public static Vector<bool> NotEqualTo<T>(
Vector<T> left,
Vector<T> right
)
Parameters
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in left is not equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | left is null. -or- right is null. |
Dimension | left and right do not have the same length. |
NotEqualTo<T>(T, Vector<T>)
Checks if the elements of one vector are not equal to a constant.
public static Vector<bool> NotEqualTo<T>(
T left,
Vector<T> right
)
Parameters
- left T
- A constant.
- right Vector<T>
- A vector.
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if left is not equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | right is null. |
NotEqualTo<T>(Vector<T>, Vector<T>, Vector<Boolean>)
Checks if the elements of one vector are not equal to the corresponding elements
of another vector.
public static Vector<bool> NotEqualTo<T>(
Vector<T> left,
Vector<T> right,
Vector<bool>? result
)
Parameters
- left Vector<T>
- The first vector.
- right Vector<T>
- The second vector.
- result Vector<Boolean>
- The vector that is to hold the result. May be null.
Type Parameters
- T
Return Value
Vector<Boolean>A boolean vector whose elements are true if the corresponding element in left is not equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | left is null. -or- right is null. |
Dimension | left and right do not have the same length. |