1. A method of displaying a user interface, comprising the steps of: a) obtaining a representation of the user interface, the representation including conceptual components representing multi-dimensional arrays of elements of the user interface, said conceptual components including a vector parameter related to a multi-dimensional size of the array, and matrices having dimensions related to those of the array; b) executing a device-specific rendering algorithm on the representation of the user interface; and c) displaying the user interface on the device.