I am talking in the same tank... from what I have learned on here... and I repeat I have yet to try this myself... I have been told that if you purchase them at the same time, and place them in the tank at the same time... and make sure that the male is smaller than the female... everything should be ok.
I already had my undulated before I knew what she was... otherwise this would have been my first attempt.
All I can honestly vouch for and say is my experience is what my Trigger has done to his tank mates, equipment, ect... in my tank.