splitbyname is a utility function that
splits the given vector based on the names
of the components and returns a named list of
arrays and vectors.
a vector or a list with the name attributes set
The names are supposed to be of the format 'name[index]', for example 'alpha[1,1]', 'beta', etc.
A name without brackets is equivalent to a name with ''.
The dimension attribute will not be set in case of vectors.
A list of arrays and vectors.
Missing entries in the arrays and vectors are filled in with
Jouni Kerman firstname.lastname@example.org