Searched refs:POLY_EVAL (Results 1 – 2 of 2) sorted by relevance
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/C3/test/lib_funcs_test/ |
H A D | poly_test.c | 53 #define POLY_EVAL orth_poly_expansion_eval macro 452 double eval1 = POLY_EVAL(cpoly3,pts[ii]); in Test_cheb_product() 453 double eval2 = POLY_EVAL(cpoly,pts[ii]) * in Test_cheb_product() 790 double eval1 = POLY_EVAL(poly,pts[ii]); in Test_legendre_linear() 813 double eval1 = POLY_EVAL(poly,pts[ii]); in Test_legendre_quadratic() 1111 double eval1 = POLY_EVAL(cpoly,pts[ii]); in Test_legendre_axpy() 2004 double eval1 = POLY_EVAL(poly,pts[ii]); in Test_hermite_linear() 2027 double eval1 = POLY_EVAL(poly,pts[ii]); in Test_hermite_quadratic() 2422 err += pow(POLY_EVAL(pl,xtest[ii]) - POLY_EVAL(pt,xtest[ii]),2); in Test_serialize_orth_poly_expansion() 2468 err += pow(POLY_EVAL(pl,xtest[ii]) - POLY_EVAL(pt,xtest[ii]),2); in Test_serialize_orth_poly_expansion_fourier() [all …]
|
H A D | piecewise_test.c | 56 #define POLY_EVAL piecewise_poly_eval macro 69 *abs_err += pow(POLY_EVAL(cpoly,xtest[ii]) - func(xtest[ii],arg),2); in compute_error() 88 *abs_err += pow(POLY_EVAL(cpoly,xtest[ii]) - val,2); in compute_error_vec() 561 abs_err += pow(POLY_EVAL(cpoly3,xtest[ii]) - val,2); in Test_pw_prod()
|