These are chat archives for symengine/symengine

24th
Aug 2016
Srajan Garg
@srajangarg
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
@abhinavagarwal07
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.