/// <summary>
 /// Creates a <c>Complex32</c> number based on a string. The string can be in the
 /// following formats (without the quotes): 'n', 'ni', 'n +/- ni',
 /// 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
 /// </summary>
 /// <returns>
 /// A complex number containing the value specified by the given string.
 /// </returns>
 /// <param name="value">
 /// the string to parse.
 /// </param>
 /// <param name="formatProvider">
 /// An <see cref="IFormatProvider"/> that supplies culture-specific
 /// formatting information.
 /// </param>
 public static Complex32 ToComplex32(this string value, IFormatProvider formatProvider)
 {
     return(Complex32.Parse(value, formatProvider));
 }
 /// <summary>
 /// Creates a <c>Complex32</c> number based on a string. The string can be in the
 /// following formats (without the quotes): 'n', 'ni', 'n +/- ni',
 /// 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
 /// </summary>
 /// <returns>
 /// A complex number containing the value specified by the given string.
 /// </returns>
 /// <param name="value">
 /// the string to parse.
 /// </param>
 public static Complex32 ToComplex32(this string value)
 {
     return(Complex32.Parse(value));
 }