private Expression NewtonBackwardDiffPart(int delta, Expression u, int times) { var c = FiniteFunctions.ChooseWithDiff(u, delta, times, 1); var y = Table[delta + (1)][Rows - 1]; return(y * c); }
private Expression NewtonForwardDiffPart(int delta, Expression u, int times) { var c = FiniteFunctions.ChooseWithDiff(u, delta, times, -1); var y = Table[delta + (1)][0]; // (y.ToReal() + " * " + c.ToReal() + " = " + (y * c).ToReal()).Print(); return(y * c); }