Complex version of ptsv.h