|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.matrices.IntegerMatrixAlgebra
public final class IntegerMatrixAlgebra
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface JSci.maths.algebras.Algebra |
---|
Algebra.Member |
Nested classes/interfaces inherited from interface JSci.maths.fields.Ring |
---|
Ring.Member |
Method Summary | |
---|---|
(package private) static IntegerMatrixAlgebra |
get(int rows,
int cols)
|
boolean |
isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
Returns true if one member is the negative of the other. |
boolean |
isOne(Ring.Member r)
Returns true if the member is the unit element. |
boolean |
isZero(AbelianGroup.Member r)
Returns true if the member is the identity element of this group. |
Ring.Member |
one()
Returns the (right) identity. |
AbelianGroup.Member |
zero()
Returns the identity element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
static IntegerMatrixAlgebra get(int rows, int cols)
public Ring.Member one()
one
in interface Ring
public boolean isOne(Ring.Member r)
Ring
isOne
in interface Ring
public AbelianGroup.Member zero()
AbelianGroup
zero
in interface AbelianGroup
public boolean isZero(AbelianGroup.Member r)
AbelianGroup
isZero
in interface AbelianGroup
r
- a group memberpublic boolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
AbelianGroup
isNegative
in interface AbelianGroup
a
- a group memberb
- a group member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |