예제 #1
0
 /// <summary>
 /// accepted formats  are x+yi, x, yi, xCIS(y), xCIS(y°), CIS(x)
 /// </summary>
 /// <param name="x"></param>
 /// <returns></returns>
 public static ComplexNumber Parse(string x)
 {
     return(DefaultParsers.Process(x));
 }
예제 #2
0
 /// <summary>
 /// Parses a string to an <see cref="Angle"/>.
 /// </summary>
 /// <param name="s">The <see cref="string"/> to parse.</param>
 /// <returns>The parsed <see cref="Angle"/>.</returns>
 /// <exception cref="NoValidProcessorException">If </exception>
 public static Angle Parse(string s)
 {
     return(DefaultParsers.Process(s));
 }