| OpenMM
   
    | 
Vec3 is a 3-element tuple that supports many math operations. More...
| Public Member Functions | |
| def | __new__ | 
| Create a new Vec3. | |
| def | __getnewargs__ | 
| def | __add__ | 
| Add two Vec3s. | |
| def | __radd__ | 
| Add two Vec3s. | |
| def | __sub__ | 
| Add two Vec3s. | |
| def | __rsub__ | 
| Add two Vec3s. | |
| def | __mul__ | 
| Multiply a Vec3 by a constant. | |
| def | __rmul__ | 
| Multiply a Vec3 by a constant. | |
| def | __div__ | 
| Divide a Vec3 by a constant. | |
| def | __deepcopy__ | 
Vec3 is a 3-element tuple that supports many math operations.
| def __add__ | ( | self, | |
| other | |||
| ) | 
Add two Vec3s.
| def __deepcopy__ | ( | self, | |
| memo | |||
| ) | 
| def __getnewargs__ | ( | self | ) | 
| def __radd__ | ( | self, | |
| other | |||
| ) | 
Add two Vec3s.
| def __rsub__ | ( | self, | |
| other | |||
| ) | 
Add two Vec3s.
| def __sub__ | ( | self, | |
| other | |||
| ) | 
Add two Vec3s.