I have written a VHDL "matrix" package with the aim of achieving Matlab-like functionality in VHDL. It uses VHDL-2008 package generics to support arbitrary data ty