|[Overview][Types][Classes][Procedures and functions][Index]||Reference for unit 'matrix' (#rtl)|
Two, three, four dimensional matrix unit
The unit matrix is a unit that provides objects for the common two, three and four dimensional vectors matrices. These vectors and matrices are very common in computer graphics and are often implemented from scratch by programmers while every implementation provides exactly the same functionality.
It makes therefore sense to provide this functionality in the runtime library. This eliminates the need for programmers to reinvent the wheel and also allows libraries that use matrix operations to become more compatible.
The matrix unit does not provide n-dimensional matrices. The functionality needs of a general matrix unit varies from application to application; one can think of reduced memory usage tricks for matrices that only have data around the diagonal etc., desire for parallelization etc. etc. It is believed that programmers that do use n-dimensional matrices would not necessarily benefit from such a unit in the runtime library.