Matrix<T>.Equal To Core Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Equal | Checks if the elements of one matrix are equal to a constant. |
Equal | Checks if the elements of one matrix are equal to the corresponding elements of another matrix. |
EqualToCore(T, Matrix<Boolean>)
Checks if the elements of one matrix are equal to a constant.
protected virtual Matrix<bool> EqualToCore(
T right,
Matrix<bool>? result
)
Parameters
Return Value
Matrix<Boolean>A boolean matrix whose elements are true if the corresponding element in this matrix is less than right, and false otherwise.
EqualToCore(Matrix<T>, Matrix<Boolean>)
Checks if the elements of one matrix are equal to
the corresponding elements of another matrix.
protected virtual Matrix<bool> EqualToCore(
Matrix<T> right,
Matrix<bool>? result
)
Parameters
- right Matrix<T>
- The second matrix.
- result Matrix<Boolean>
- The matrix that is to hold the result. May be null.
Return Value
Matrix<Boolean>A boolean matrix whose elements are true if the corresponding element in this matrix is greater than or equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | right is null. |
Dimension | This matrix and right do not have the same length. |