Is the number of relations on $A \times B$ the same as the number of relations from $A$ to $B$?
Can anybody clear this doubt with some examples? In my notes, I have written the number of relations on $A \times B$ as $2^{(mn)^2}$ and number of relations from $A$ to $B$ as $2^{mn}$. But some friends are arguing both are same and answer is $2^{mn}$.