NewTOAPIA.Net.Rtp.GF16.Power C# (CSharp) Method

Power() public method

Power is used to create teh Vandermonde matrix
public Power ( int exponent ) : GF16
exponent int
return GF16
        public GF16 Power (int exponent)
        {
            if ( Value == 0 ) return this;
            if ( exponent == 0 ) return new GF16((UInt16)1);
        
            GF16 original = this;
            for (int i = 1; i < exponent; i++)
                this *= original;

            return this;
        }

Same methods

GF16::Power ( UInt16 x, UInt32 exponent ) : UInt16