shh.csparse
Class UnivCoeff
Object
UnivCoeff
- public class UnivCoeff
- extends Object
Given matrices δ1 : C1 →
C2 and δ0 :
C0 → C1 over Z
defining a piece C2 ← C1
← C0 of a cochain complex, the constructor
prints out the cohomology H1 with coefficients
in both Z and the relevant Fp's,
including generating cocycles. The δ's will be
destructively altered.
- Author:
- Mark McConnell
|
Method Summary |
static void |
main(String[] args)
For testing the constructor. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnivCoeff
public UnivCoeff(CSparse delta1,
CSparse delta0)
- The constructor runs the jobs described in the comment on the
class (
UnivCoeff).
- Throws:
IllegalArgumentException - If delta1 delta0 ≠
0.
ClassCastException - If some entry in the
deltas is not of class SparseEltZ.
RuntimeException - If some things go wrong
internally.
main
public static void main(String[] args)
- For testing the constructor. Give it 2 × 2 matrices
δ1 : C1 →
C2 and δ0 :
C0 → C1 forming a
cochain complex as in the comment on the class.
- Parameters:
args - The four entries of δ1 in
row-major order, followed by the four entries of
δ0 in row-major order.