Utility functions for working with the jagged Double()() arrays used by the RNN matrix type.