isMultiplyCompatible

The arrays must be rectangular, and n columns of first must be same and n rows for second.

Return

true if arrays can be multiplied

Parameters

first

the first array

second

the second array