Home | Trees | Index | Help |
|
---|
Package sage :: Package linalg :: Module sparse_matrix_pyx :: Class Matrix_modint |
|
object
--+
|
Matrix_modint
Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delitem__(y) <==> del x[y] | |
x.__getitem__(y) <==> x[y] | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
x.__setitem__(i, y) <==> x[i]=y | |
Replace self by its reduction to reduced row echelon form. | |
Return an associative arrow of pairs n:x where the keys n run through the nonzero positions of the row, and the x are nonzero and of type Integer. | |
Return an associative arrow of pairs (i,j):x where the keys (i,j) run through the nonzero positions of the matrix and the x are nonzero and of type Integer. | |
linear_combination_of_rows(...)
| |
list(...)
| |
ncols(...)
| |
nrows(...)
| |
pivots(...)
| |
prime(...)
| |
randomize(self, int sparcity, exact=False): | |
Swap the rows in positions n1 and n2 | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
member_descriptor |
nc = <member 'nc' of 'sparse_matrix_pyx.Matrix_modint' o...
|
member_descriptor |
nr = <member 'nr' of 'sparse_matrix_pyx.Matrix_modint' o...
|
member_descriptor |
p = <member 'p' of 'sparse_matrix_pyx.Matrix_modint' obj...
|
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__delitem__(x,
y)
x.__delitem__(y) <==> del x[y]
|
__getitem__(x,
y)
x.__getitem__(y) <==> x[y]
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__repr__(x)
x.__repr__() <==> repr(x)
|
__setitem__(x,
i,
y)
x.__setitem__(i, y) <==> x[i]=y
|
echelon(...)Replace self by its reduction to reduced row echelon form. ALGORITHM: We use Gauss elimination, which is slightly intelligent, in these sense that we clear each column using a row with the minimum number of nonzero entries. |
lift_row_to_dict(...)Return an associative arrow of pairs n:x where the keys n run through the nonzero positions of the row, and the x are nonzero and of type Integer. |
lift_to_dict(...)Return an associative arrow of pairs (i,j):x where the keys (i,j) run through the nonzero positions of the matrix and the x are nonzero and of type Integer. |
randomize(...)randomize(self, int sparcity, exact=False): The sparcity is a bound on the number of nonzeros per row. |
swap_rows(...)Swap the rows in positions n1 and n2 |
Class Variable Details |
---|
nc
|
nr
|
p
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed May 4 18:06:57 2005 | http://epydoc.sf.net |