A method of displaying a user interface, comprising the steps of first
obtaining a representation of the user interface. The representation
includes conceptual components representing multi-dimensional arrays of
elements of the user interface. The conceptual components include a
vector parameter related to a multi-dimensional size of the array, and
matrices having dimensions related to those of the array.The method
proceeds by executing a device-specific rendering algorithm on the
representation of the user interface and displaying the user interface on
the device.