Given the matrix representing a relation on a finite set, determine whether the relation is reflexive or irreflexive.. Need your help!
A reflexive relation is one in which every element is related to itself.
so all you need to do (assuming the relation has only numbers) is to make sure that the matrix has ordered pairs like (1,1),(2,2) and so on for all elements in the set.
if you still cant solve it, reply and i ll post the code