de.flexiprovider.common.math.codingtheory
Class GoppaCode.MaMaPe

java.lang.Object
  |
  +--de.flexiprovider.common.math.codingtheory.GoppaCode.MaMaPe
Enclosing class:
GoppaCode

public static class GoppaCode.MaMaPe
extends java.lang.Object

This class is a container for two instances of GF2Matrix and one instance of Permutation. It is used to hold the systematic form S*H*P = (Id|M) of the check matrix H as returned by GoppaCode.computeSystematicForm(GF2Matrix, SecureRandom).

Author:
Elena Klintsevich
See Also:
GF2Matrix, Permutation

Constructor Summary
GoppaCode.MaMaPe(GF2Matrix s, GF2Matrix h, Permutation p)
          Construct a new MaMaPe container with the given parameters.
 
Method Summary
 GF2Matrix getFirstMatrix()
           
 Permutation getPermutation()
           
 GF2Matrix getSecondMatrix()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoppaCode.MaMaPe

public GoppaCode.MaMaPe(GF2Matrix s,
                        GF2Matrix h,
                        Permutation p)
Construct a new MaMaPe container with the given parameters.
Parameters:
s - the first matrix
h - the second matrix
p - the permutation
Method Detail

getFirstMatrix

public GF2Matrix getFirstMatrix()
Returns:
the first matrix

getSecondMatrix

public GF2Matrix getSecondMatrix()
Returns:
the second matrix

getPermutation

public Permutation getPermutation()
Returns:
the permutation