In-place version of pack(), which also accepts matrix arguments x. The columns of x are elements of S, with the 's' components stored in unpacked storage. On return, the 's' components are stored in packed storage and the off-diagonal entries are scaled by sqrt(2).
(x *matrix.FloatMatrix, dims *sets.DimensionSet, mnl int)
source not stored for this graph (policy: none)