Matrix.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 matrix are not equal to a constant. |
Not | Checks if the elements of one matrix are not equal to the corresponding elements of another matrix. |
Not | Checks if the elements of one matrix are not equal to a constant. |
Not | Checks if the elements of one matrix are not equal to the corresponding elements of another matrix. |
NotEqualTo<T>(Matrix<T>, T)
Checks if the elements of one matrix are not equal to a constant.
public static Matrix<bool> NotEqualTo<T>(
Matrix<T> left,
T right
)
Parameters
- left Matrix<T>
- A matrix.
- right T
- A constant.
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix 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>(Matrix<T>, Matrix<T>)
Checks if the elements of one matrix are not equal to the corresponding elements
of another matrix.
public static Matrix<bool> NotEqualTo<T>(
Matrix<T> left,
Matrix<T> right
)
Parameters
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix 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, Matrix<T>)
Checks if the elements of one matrix are not equal to a constant.
public static Matrix<bool> NotEqualTo<T>(
T left,
Matrix<T> right
)
Parameters
- left T
- A constant.
- right Matrix<T>
- A matrix.
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix 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>(Matrix<T>, Matrix<T>, Matrix<Boolean>)
Checks if the elements of one matrix are not equal to the corresponding elements
of another matrix.
public static Matrix<bool> NotEqualTo<T>(
Matrix<T> left,
Matrix<T> right,
Matrix<bool>? result
)
Parameters
- left Matrix<T>
- The first matrix.
- right Matrix<T>
- The second matrix.
- result Matrix<Boolean>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<Boolean>A boolean matrix 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. |