|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use SparseElt | |
| shh.csparse | |
| Uses of SparseElt in shh.csparse |
| Subclasses of SparseElt in shh.csparse | |
class |
SparseEltEuc
A class of SparseElts should implement this interface if
its underlying integral domain D is a Euclidean
domain. |
class |
SparseEltField
A class of SparseElts should implement this interface if
its underlying integral domain is a field. |
class |
SparseEltMod2
Elements of a sparse vector over the finite field F2 = Z/(2) of two elements. |
class |
SparseEltModp
Elements of a sparse vector over the finite field Fp = Z/(p) of p elements. |
class |
SparseEltZ
Elements of a sparse vector over the ring of integers Z, in arbitrary precision. |
class |
SparseEltZBig
Elements of a sparse vector over Z, using arbitrary-precision integers ( BigIntegers). |
class |
SparseEltZInt
Elements of a sparse vector over Z, using int to store the values. |
| Fields in shh.csparse declared as SparseElt | |
static SparseElt |
SparseElt.ZERO
A formal "0" object that can be combined in arithmetic operations with elements from another domain (a "complete" implementation of SparseElt), producing values in the other domain.
|
static SparseElt |
SparseElt.ONE
A formal "1" object that can be combined in arithmetic operations with elements from another domain (a "complete" implementation of SparseElt), producing values in the other domain.
|
static SparseElt |
SparseElt.NEG_ONE
A formal "-1" object that can be combined in arithmetic operations with elements from another domain (a "complete" implementation of SparseElt), producing values in the other domain.
|
| Methods in shh.csparse that return SparseElt | |
SparseElt |
P2Matrix.get(int i0,
int j0)
|
SparseElt |
SparseEltMod2.add(SparseElt y)
|
SparseElt |
SparseEltMod2.copy(int indexOfCopy)
|
SparseElt |
SparseEltMod2.getNegOne()
|
SparseElt |
SparseEltMod2.getOne()
|
SparseElt |
SparseEltMod2.getZero()
|
SparseElt |
SparseEltMod2.multiply(SparseElt y)
|
SparseElt |
SparseEltMod2.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltMod2.negate()
|
SparseElt |
SparseEltMod2.subtract(SparseElt y)
|
SparseElt |
SparseEltZInt.add(SparseElt y)
|
SparseElt |
SparseEltZInt.copy(int indexOfCopy)
|
SparseElt |
SparseEltZInt.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltZInt.negate()
|
SparseElt |
SparseEltZInt.subtract(SparseElt y)
|
SparseElt |
SparseEltModp.add(SparseElt y)
|
SparseElt |
SparseEltModp.copy(int indexOfCopy)
|
SparseElt |
SparseEltModp.getNegOne()
|
SparseElt |
SparseEltModp.getOne()
|
SparseElt |
SparseEltModp.getZero()
|
SparseElt |
SparseEltModp.multiply(SparseElt y)
|
SparseElt |
SparseEltModp.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltModp.negate()
|
SparseElt |
SparseEltModp.subtract(SparseElt y)
|
SparseElt |
TMatrix.get(int i0,
int j0)
|
SparseElt |
SparseEltZ.getNegOne()
|
SparseElt |
SparseEltZ.getOne()
|
SparseElt |
SparseEltZ.getZero()
|
SparseElt |
SparseEltZBig.add(SparseElt y)
|
SparseElt |
SparseEltZBig.copy(int indexOfCopy)
|
SparseElt |
SparseEltZBig.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltZBig.negate()
|
SparseElt |
SparseEltZBig.subtract(SparseElt y)
|
SparseElt |
DNeg1Matrix.get(int i0,
int j0)
|
SparseElt |
DenseMatrixZ.get(int i,
int j)
|
abstract SparseElt |
SparseElt.add(SparseElt y)
Returns a SparseElt whose value is the sum of the values in this and y, and whose index is that
of this. |
abstract SparseElt |
SparseElt.copy(int indexOfCopy)
Returns a SparseElt with the same value as this,
and with index indexOfCopy. |
abstract SparseElt |
SparseElt.getNegOne()
Returns a SparseElt from the same integral domain as this, with value -1 and unspecified index. |
abstract SparseElt |
SparseElt.getOne()
Returns a SparseElt from the same integral domain as this, with value 1 and unspecified index. |
abstract SparseElt |
SparseElt.getZero()
Returns a SparseElt from the same integral domain as this, with value 0 and unspecified index. |
SparseElt |
SparseElt.multiply(SparseElt y)
Returns a SparseElt whose value is the product of the values in this and y, and whose index is that
of this. |
abstract SparseElt |
SparseElt.multiply(int newIndex,
SparseElt y)
Returns a SparseElt with index newIndex and whose
value is the product of the values in this and
y. |
abstract SparseElt |
SparseElt.negate()
Returns a SparseElt whose value is the negative of the value of this, and whose index is that of
this. |
abstract SparseElt |
SparseElt.subtract(SparseElt y)
Returns a SparseElt whose value is (value of this)
minus (value of y), and whose index is that of
this. |
SparseElt |
SparseV.dot(SparseV b)
Returns a SparseElt with unspecified index and value equal to the dot product of this and b. |
SparseElt |
SparseV.getElt(int i)
Returns the element with index i in the sparse
vector, or null if there isn't one. |
SparseElt |
SparseV.getFirstFrom(int i)
Returns the non-zero entry whose index in the sparse vector has the smallest possible value ≥ i. |
abstract SparseElt |
Matrix.get(int i,
int j)
Returns a SparseElt whose value is the i,j value
of the matrix. |
SparseElt |
CSparse.get(int i,
int j)
Gets the i,j entry. |
| Methods in shh.csparse with parameters of type SparseElt | |
SparseElt |
SparseEltMod2.add(SparseElt y)
|
boolean |
SparseEltMod2.divides(SparseElt y)
|
boolean |
SparseEltMod2.isEqualValue(SparseElt y)
|
SparseElt |
SparseEltMod2.multiply(SparseElt y)
|
SparseElt |
SparseEltMod2.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltMod2.subtract(SparseElt y)
|
SparseElt |
SparseEltZInt.add(SparseElt y)
|
boolean |
SparseEltZInt.divides(SparseElt y)
|
SparseElt |
SparseEltZInt.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltZInt.subtract(SparseElt y)
|
SparseElt |
SparseEltModp.add(SparseElt y)
|
boolean |
SparseEltModp.divides(SparseElt y)
|
boolean |
SparseEltModp.isEqualValue(SparseElt y)
|
SparseElt |
SparseEltModp.multiply(SparseElt y)
|
SparseElt |
SparseEltModp.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltModp.subtract(SparseElt y)
|
boolean |
SparseEltZ.isEqualValue(SparseElt y)
|
SparseElt |
SparseEltZBig.add(SparseElt y)
|
boolean |
SparseEltZBig.divides(SparseElt y)
|
SparseElt |
SparseEltZBig.multiply(int newIndex,
SparseElt y)
|
SparseElt |
SparseEltZBig.subtract(SparseElt y)
|
void |
ElemMatrix.set(SparseElt iAndVal,
int j)
Unsupported. |
void |
DenseMatrixZ.set(SparseElt rowIndexAndVal,
int colIndex)
Set method. |
abstract SparseElt |
SparseElt.add(SparseElt y)
Returns a SparseElt whose value is the sum of the values in this and y, and whose index is that
of this. |
abstract boolean |
SparseElt.divides(SparseElt y)
Whether the value of this divides the value of
y; that is, whether there is an x
such that x * this = y. |
abstract boolean |
SparseElt.isEqualValue(SparseElt y)
Tests whether the values are equal, ignoring the indices. |
SparseElt |
SparseElt.multiply(SparseElt y)
Returns a SparseElt whose value is the product of the values in this and y, and whose index is that
of this. |
abstract SparseElt |
SparseElt.multiply(int newIndex,
SparseElt y)
Returns a SparseElt with index newIndex and whose
value is the product of the values in this and
y. |
abstract SparseElt |
SparseElt.subtract(SparseElt y)
Returns a SparseElt whose value is (value of this)
minus (value of y), and whose index is that of
this. |
protected int |
SparseV.getListIndex(SparseElt e)
Same as SparseV.getListIndex(int) for e's
index. |
void |
SparseV.alter(SparseElt factor,
SparseV b)
Alters this by adding to it (the value in
factor) times b. |
void |
SparseV.alter(int i1,
SparseElt factor,
int i2)
Alters the entry with index i1 by adding to it
(the value in factor) times (the entry with index
i2). |
void |
SparseV.scalarMult(SparseElt s)
Overwrites this with its scalar product by the
value stored in s.
|
void |
SparseV.setElt(SparseElt s)
Sets the entry with s's index to s. |
abstract void |
Matrix.set(SparseElt rowIndexAndVal,
int colIndex)
Check the implementation for whether it throws an UnsupportedOperationException. |
void |
CSparse.alterCol(int j1,
SparseElt factor,
int j2)
Alter column j1 by adding to it the value in
factor times column j2. |
void |
CSparse.alterRow(int i1,
SparseElt factor,
int i2)
Alter row i1 by adding to it the value in
factor times row i2. |
void |
CSparse.set(SparseElt rowIndexAndVal,
int colIndex)
Sets a matrix entry. |
| Constructors in shh.csparse with parameters of type SparseElt | |
TMatrix(int i,
int j,
SparseElt val)
Constructor. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||