Matrix.Equal To Into Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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 a constant. |
Equal | Checks if the elements of one matrix are equal to the corresponding elements of another matrix. |
EqualToInto<T>(T, Matrix<T>, Matrix<Boolean>)
Checks if the elements of one matrix are equal to a constant.
public static Matrix<bool> EqualToInto<T>(
T left,
Matrix<T> right,
Matrix<bool> result
)
Parameters
- left T
- A constant.
- right Matrix<T>
- A 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 left is equal to the corresponding element in right, and false otherwise.
Exceptions
Argument | right is null |
EqualToInto<T>(Matrix<T>, T, Matrix<Boolean>)
Checks if the elements of one matrix are equal to a constant.
public static Matrix<bool> EqualToInto<T>(
Matrix<T> left,
T right,
Matrix<bool> result
)
Parameters
- left Matrix<T>
- A matrix.
- right T
- A constant.
- 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 equal to right, and false otherwise.
Exceptions
Argument | left is null |
EqualToInto<T>(Matrix<T>, Matrix<T>, Matrix<Boolean>)
Checks if the elements of one matrix are equal to the corresponding elements
of another matrix.
public static Matrix<bool> EqualToInto<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 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. |