I’m having to use this:
def TVector3_mul(self, operand):
ret = ROOT.TVector3(self)
ret *= operand
return ret
ROOT.TVector3.mul = TVector3_mul
ROOT.TVector3.rmul = TVector3_mul # Yes I know this is wrong for non-scalars
So that I can do a * V and V * a. This is surely bad for performance, though…