public static Entity Eval(List <Entity> args) { MathFunctions.AssertArgs(args.Count, 1); var arg = args[0].InnerEval(); if (arg.entType == Entity.EntType.NUMBER) { return(new NumberEntity(Number.Arccos((arg as NumberEntity).Value))); } else { return(Arccosf.Hang(arg)); } }
public static Entity Arcsec(Entity a) => Arccosf.Hang(1 / a);
public Entity Arccos() => Arccosf.Hang(this);
public static Entity Arccos(Entity a) => Arccosf.Hang(a);