These are chat archives for symengine/symengine

Aug 2016
Srajan Garg
Aug 24 2016 14:33
How about checking if the element already exists? If it exists, remove it, else add it. This can be done using just a set
Abhinav Agarwal
Aug 24 2016 16:02
That will need a custom set insert otherwise if user passes param xor (std::set(1, 1)) i'll have no way to know.