Ejemplo n.º 1
0
 /// <summary>
 /// Copy the field values from another GF2nONBElement instance
 /// </summary>
 ///
 /// <param name="Gf2n">The GF2nONBElement to copy</param>
 public GF2nONBElement(GF2nONBElement Gf2n)
 {
     m_Field  = Gf2n.m_Field;
     m_Degree = m_Field.Degree;
     m_Length = ((GF2nONBField)m_Field).GetONBLength();
     m_Bit    = ((GF2nONBField)m_Field).GetONBBit();
     m_Pol    = new long[m_Length];
     Assign(Gf2n.GetElement());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copy the field values from another GF2nONBElement instance
 /// </summary>
 ///
 /// <param name="Gf2n">The GF2nONBElement to copy</param>
 public GF2nONBElement(GF2nONBElement Gf2n)
 {
     mField   = Gf2n.mField;
     mDegree  = mField.Degree;
     _mLength = ((GF2nONBField)mField).GetONBLength();
     _mBit    = ((GF2nONBField)mField).GetONBBit();
     _mPol    = new long[_mLength];
     Assign(Gf2n.GetElement());
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Copy the field values from another GF2nONBElement instance
 /// </summary>
 /// 
 /// <param name="Gf2n">The GF2nONBElement to copy</param>
 public GF2nONBElement(GF2nONBElement Gf2n)
 {
     mField = Gf2n.mField;
     mDegree = mField.Degree;
     _mLength = ((GF2nONBField)mField).GetONBLength();
     _mBit = ((GF2nONBField)mField).GetONBBit();
     _mPol = new long[_mLength];
     Assign(Gf2n.GetElement());
 }