Apply a row-wise function between two matrices with the same number of columns.
The first matrix.
The second matrix.
The function to apply.
A matrix where each row represents the result of applying the function between the corresponding rows of X and Y.
If the number of columns in X and Y are not the same.
Apply a row-wise function between two matrices with the same number of columns.