/// <summary> /// If you need an indefinite value of a complex number, e. g. /// Number.Create(RealNumber.UndefinedState.POSITIVE_INFINITY, RealNumber.UndefinedState.NEGATIVE_INFINITY) /// -> +oo + -ooi /// </summary> /// <returns></returns> public static ComplexNumber Create(RealNumber.UndefinedState realState, RealNumber.UndefinedState imaginaryState) => Number.Create(Number.Create(realState), Number.Create(imaginaryState));
/// <summary> /// If you need an indefinite value of a real number, use this /// Number.Create(RealNumber.UndefinedState.POSITIVE_INFINITY) /// Number.Create(RealNumber.UndefinedState.NEGATIVE_INFINITY) /// Number.Create(RealNumber.UndefinedState.NAN) /// </summary> /// <param name="state"></param> /// <returns></returns> public static RealNumber Create(RealNumber.UndefinedState state) => new RealNumber(state);