Following on from the thread Prime 3.1: Method for converting range variable to vector no longer works!, I thought an updated, ORIGIN-independent version of my vec function might be of some interest.
The vec function converts its arguments into a vector, including nested arrays of arbitrary depth. See Vectorization (mathematics) - Wikipedia, the free encyclopedia for further information on the vec function in linear algebrae
Apart from Prime's (<= v3.1) inability to accept a range definition as an argument, vec works in Mathcad 15 and Prime 3.1.
Stuart