numpy.polynomial.legendre.legval2d()

numpy.polynomial.legendre.legval2d

numpy.polynomial.legendre.legval2d(x, y, c) [source]

Evaluate a 2-D Legendre series at points (x, y).

This function returns the values:

p(x,y) = \sum_{i,j} c_{i,j} * L_i(x) * L_j(y)

The parameters x and y are converted to arrays only if they are tuples or a lists, otherwise they are treated as a scalars and they must have the same shape after conversion. In either case, either x and y登录查看完整内容