| Home | Trees | Index | Help |
|
|---|
| Package young :: Module matrixball :: Class Numbering |
|
object --+
|
Numbering
| Method Summary | |
|---|---|
__init__(self,
matrix)
| |
__repr__(self)
| |
__str__(self)
| |
P is a sequence which lists the left-most columns where each number occurs in a matrix with numbered balls. | |
Q is a sequence which lists the top-most rows where each number occurs in a matrix with numbered balls. | |
Test if a given matrix contains a given number. | |
Create a derived matrix from an original one. | |
Test if there are any balls in a box with the same label. | |
Put numbered balls into the matrix from NorthWest to SouthEast. | |
If there are any duplicated balls, mark them as `duplicated'. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Method Details |
|---|
constructP(self)P is a sequence which lists the left-most columns where each number occurs in a matrix with numbered balls. |
constructQ(self)Q is a sequence which lists the top-most rows where each number occurs in a matrix with numbered balls. |
contain(self, num, matrix)Test if a given matrix contains a given number. |
get_derived_matrix(self)Create a derived matrix from an original one. This matrix can be used to create a new instance of Numbering class. |
has_same_label(self)Test if there are any balls in a box with the same label. |
numbering(self)Put numbered balls into the matrix from NorthWest to SouthEast. |
set_duplicate(self)If there are any duplicated balls, mark them as `duplicated'. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun May 15 17:34:14 2005 | http://epydoc.sf.net |