This sets the value of a row, given a string. The string s should contain a textual representation of a row, such as 21436587. If the string is not valid, a
row::invalid
exception is thrown.
These compare two rows.
This returns the ith bell in the row. Note that this is not an lvalue, so you cannot assign a value to an individual bell in a row.
These functions multiply two rows together as explained above. If the rows are not of the same length, the shorter row is considered to be first padded out to the length of the longer row by adding the extra bells in order at the end.
These functions divide two rows, as explained above. If the rows are not of the same length, the shorter row is padded as for multiplication.
These functions apply a change to a row. If the number of bells c differs from the number of bells in r, then c is considered to be padded or truncated in the obvious way.
This writes the row to the given output stream, in the same format as returned by
row::print()
.
These functions perform a lexicographical comparison of the two rows. They are necessary in order that rows may be put into certain containers.