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

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -