/// <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));
public static Number Num(decimal a, decimal b) => Number.Create(a, b);
public static ComplexNumber Num(decimal a) => Number.Create(a);
public static Entity Sqrt(Entity a) => Powf.Hang(a, Number.CreateRational(1, 2));