1#include "..\include\math\polynomialevaluation.hpp"
13 for (
int i = 0; i < m; ++i) {
14 s = mat[i][n - 1] * xx;
15 for (
int j = n - 2; j >= 0; --j) {
16 s = s * y +mat[i][j] * xx;
#define NA_Assert(expr)
当表达式非法,抛出异常
double NA_API PolynomialEvaluation2D(const Matrix &mat, double x, double y, int n)
二维多项式求值