示例#1
0
        /// <summary>
        /// Method for adding field element <paramref name="a"/> to field element <paramref name="b"/>
        /// </summary>
        /// <param name="a">First term</param>
        /// <param name="b">Second term</param>
        /// <returns>Sum</returns>
        public static FieldElement Add(FieldElement a, FieldElement b)
        {
            var c = new FieldElement(a);

            return(c.Add(b));
        }