//sin[x] -> asin[other] public Expression InvertOn(Expression other) { var arg = new List(); arg.Items.Add(other); return(SysFunc.MakeFunction(arg, CurScope, "asin")); }
private Equal InvertFunction(Call call, Expression right) { SysFunc func = call.Child.Value as SysFunc; if (call.ContainsVariable(@var)) { return(new Equal(call.Arguments[0], (func as IInvertable).InvertOn(right))); } return(null); }