Function index_spec_preprocess (o2scl)¶
-
void o2scl::index_spec_preprocess(std::string str, std::vector<std::string> &sv, int verbose = 0)¶
Take a set of index specifications contained in a single string
str
and arrange them insv
.Todo
In tensor::index_spec_preprocess():
Future: Improve this to be more intelligent about whitespace and other characters between index specifications. Right now, this function fails if there are, e.g. two spaces between index specs.