xnn.ffnn.models.amoeba_ewald.bspline_with_derivatives#
- xnn.ffnn.models.amoeba_ewald.bspline_with_derivatives(t, order)[source]#
Cardinal B-spline weights
M_p(t + j)and their first and second derivatives with respect to the scaled coordinate, forjfrom 0 top - 1.M_p'(x) = M_{p-1}(x) - M_{p-1}(x - 1)andM_p''(x) = M_{p-2}(x) - 2 M_{p-2}(x - 1) + M_{p-2}(x - 2).