discrete math arrays and binary relations -


given 2 arrays , b both of length m . given binary relation r. specify formally program determine whether corresponding elements of , b related relation r.

assuming testing whether a[i] r b[i]:

for i=1..m:   if not (a[i] r b[i]):     return false return true 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -