32 if (rawValue.find(
'/') != std::string::npos) {
33 std::string left = rawValue.substr(0, rawValue.find(
'/'));
34 std::string right = rawValue.substr(rawValue.find(
'/') + 1, rawValue.size() - rawValue.find(
'/') - 1);
36 value = parseDouble(left) / parseDouble(right);
38 value = parseDouble(rawValue);
57 std::vector<std::string> components;
59 components, rawValue, [](
char c) {
return c ==
';'; }, boost::algorithm::token_compress_on);
60 const int size = components.size();
62 Eigen::VectorXd vec(size);
63 for (
int i = 0; i != size; ++i) {
64 vec(i) = parseDouble(components[i]);