Vectorized version of j
function jj input Real[:, :] xx "array of voltage or current vectors"; output Real[size(xx, 1), size(xx, 2)] yy "array of rotated vectors"; end jj;