If as.vector is TRUE, return a string vector of the same
length as x whose elements are length 4 or 8 strings for
quaternions or octonions respectively. If FALSE, return a
matrix with these columns.
The characters are “+” for a positive, “-”
for a negative, and “0” for a zero, element.