15#include "NANA\core/error.h"
16#include "NANA\core/matrix.h"
30 for (
int i = 1; i < n; i++) {
45double NA_API PolynomialEvaluation2D(
const Matrix& mat,
double x,
double y,
int n);
#define NA_API
兼容windows系统与linux系统
#define NA_Assert(expr)
当表达式非法,抛出异常
_Tp PolynomialEvaluation1D(const _Tp *a, int n, _Tp x)
一维多项式求值