Representation of single-axis grain boundary functions