mathmaker
0.4(alpha)
|
All objects that are displayable as Tables. More...
Public Member Functions | |
def | __init__ |
Constructor. | |
def | get_cell |
Returns the Table's content as a list of two lists so it can be addressed. | |
def | into_str |
Creates a string of the given object in the given ML. | |
def | __len__ |
Returns the number of columns of the Table. | |
def | cross_product |
Produces the cross product of a cell among 4 given. | |
def | is_numeric |
Returns True if the Table is entirely numeric. | |
Properties | |
cell |
All objects that are displayable as Tables.
Definition at line 1888 of file calculus.py.
def core.calculus.Table.__init__ | ( | self, | |
arg | |||
) |
Constructor.
arg | [[Calculable], [Calculable]] (the Calculables' lists must have the same length) |
Definition at line 1899 of file calculus.py.
References core.calculus.Table._data, and core.calculus.Table._nb_of_cols.
Referenced by core.root_calculus.Value.substitute().
def core.calculus.Table.cross_product | ( | self, | |
col, | |||
x_position, | |||
options | |||
) |
Produces the cross product of a cell among 4 given.
cols | : (nb of col 1, nb of col 2) |
x_position | : position of the unknown variable to compute it will be 0, 1, 2 or 3 0: x a 1: a x 2: a b 3: a b b c b c c x x c |
options | Any options |
Definition at line 2016 of file calculus.py.
References core.calculus.Table.cell.
def core.calculus.Table.into_str | ( | self, | |
options | |||
) |
Creates a string of the given object in the given ML.
options | Any options |
Reimplemented from core.base.Printable.
Definition at line 1959 of file calculus.py.
References core.calculus.Table.cell.
Referenced by core.calculus.Table_UP.__init__().
core::calculus.Table::cell [static] |
property(get_cell,
doc = "t.cell is the complete Table t.cell[i][j] is a cell")
Definition at line 1946 of file calculus.py.
Referenced by core.calculus.Table.cross_product(), core.calculus.Table_UP.into_crossproduct_equation(), core.calculus.Table.into_str(), and core.calculus.Table.is_numeric().