phystricks
|
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 | |
Lines and column are numbered from 1 to nlines/ncolumns
def phystricks.src.MatrixGraph.MatrixGraph.__init__ | ( | self, | |
nlines, | |||
ncolumns | |||
) |
|
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
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.
|
private |
|
private |
|
private |
phystricks.src.MatrixGraph.MatrixGraph.elements |
phystricks.src.MatrixGraph.MatrixGraph.matrix_environment |
phystricks.src.MatrixGraph.MatrixGraph.ncolumns |
phystricks.src.MatrixGraph.MatrixGraph.nlines |