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