phystricks
Classes | Functions
phystricks.src.PointGraph Namespace Reference

Classes

class  PointGraph
 

Functions

def __sub__ (self, a)
 Subtract coordinatewise two points. More...
 
def __neg__ (self)
 
def __mul__ (self, r)
 
def __div__ (self, r)
 
def __truediv__ (self, r)
 
def __rmul__ (self, r)
 
def __str__ (self)
 

Function Documentation

def phystricks.src.PointGraph.__div__ (   self,
  r 
)
def phystricks.src.PointGraph.__mul__ (   self,
  r 
)
def phystricks.src.PointGraph.__neg__ (   self)
def phystricks.src.PointGraph.__rmul__ (   self,
  r 
)
def phystricks.src.PointGraph.__str__ (   self)
def phystricks.src.PointGraph.__sub__ (   self,
  a 
)

Subtract coordinatewise two points.

One can pass either a point or two numbers which will be interpreted as the coordinates to be subtracted.

def phystricks.src.PointGraph.__truediv__ (   self,
  r 
)