phystricks
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
phystricks.src.MatrixGraph.MatrixGraph Class Reference
Inheritance diagram for phystricks.src.MatrixGraph.MatrixGraph:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.MatrixGraph.MatrixGraph:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, nlines, ncolumns)
 
def set_matrix_environment (self, m_env)
 set the (LaTeX) environment of the matrix More...
 
def getElement (self, i, j)
 
def getElements (self)
 
def getLine (self, n)
 
def getColumn (self, m)
 
def getMidPoint (self, pspict)
 
def getSecondBox (self, pspict)
 
def square (self, a, b, pspict)
 
def computeCentralPoints (self, pspict)
 
def action_on_pspict (self, pspict)
 

Public Attributes

 nlines
 
 ncolumns
 
 elements
 
 matrix_environment
 

Private Member Functions

def _bounding_box (self, pspict=None)
 

Private Attributes

 _computed_central_points
 
 _lines
 
 _columns
 

Detailed Description

Lines and column are numbered from 1 to nlines/ncolumns

Constructor & Destructor Documentation

def phystricks.src.MatrixGraph.MatrixGraph.__init__ (   self,
  nlines,
  ncolumns 
)

Member Function Documentation

def phystricks.src.MatrixGraph.MatrixGraph._bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.MatrixGraph.MatrixGraph.action_on_pspict (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixGraph.computeCentralPoints (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixGraph.getColumn (   self,
  m 
)
def phystricks.src.MatrixGraph.MatrixGraph.getElement (   self,
  i,
  j 
)
def phystricks.src.MatrixGraph.MatrixGraph.getElements (   self)
def phystricks.src.MatrixGraph.MatrixGraph.getLine (   self,
  n 
)
def phystricks.src.MatrixGraph.MatrixGraph.getMidPoint (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixGraph.getSecondBox (   self,
  pspict 
)
def phystricks.src.MatrixGraph.MatrixGraph.set_matrix_environment (   self,
  m_env 
)

set the (LaTeX) environment of the matrix

Parameters
m_env(string) the name of the desired environment.

This will typically be pmatrix (default), vmatrix or something like that.

def phystricks.src.MatrixGraph.MatrixGraph.square (   self,
  a,
  b,
  pspict 
)
'a' and 'b' are tuples (i,j) of integers.

Member Data Documentation

phystricks.src.MatrixGraph.MatrixGraph._columns
private
phystricks.src.MatrixGraph.MatrixGraph._computed_central_points
private
phystricks.src.MatrixGraph.MatrixGraph._lines
private
phystricks.src.MatrixGraph.MatrixGraph.elements
phystricks.src.MatrixGraph.MatrixGraph.matrix_environment
phystricks.src.MatrixGraph.MatrixGraph.ncolumns
phystricks.src.MatrixGraph.MatrixGraph.nlines

The documentation for this class was generated from the following file: