memcpy(tmp, param, len + 1);
degree = std::count(tmp, tmp + len, ',');
factor = new double[degree + 1];
for (int i = degree ; i > 0 ; i--) {
memcpy(tmp, param, len + 1);
degree = std::count(tmp, tmp + len, ',');
factor = new double[degree + 1];
for (int i = degree ; i > 0 ; i--) {