Cliff Posted March 10, 2022 Share Posted March 10, 2022 Say we have as base material 2 list sequences a and b in omn or other musical OM forms (i.e. pitch series), which are generated by some algorithm. There will be cases where you want to calculate on sets of this material. Is there a OM function which helps to calculate set operations for both? Foregive me if I missed something in the excellent docu. If not, consider to implement the 3 elementary types of set operations: - union: the set with holds all elements of a and b - intersect: the set which holds the elements found in a and b, but excludes those which only occur in a resp. b. - setdiff: the set which holds all elements in a which are not elements in b Needless to say that set functions will discard duplicates. I am sure there are LISP functions for this, but they probably won't generalize to OM related data structure? Regards Cliff JulioHerrlein 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.