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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -