var n = elements.length, k = n, i; var M = Matrix.I(n); do { i = k - n; 
var i = elements.length; var M = Matrix.I(i); while (i--) { 
Matrix.Diagonal = function(elements) {  var n = elements.length, k = n, i;  var M = Matrix.I(n);  do { i = k - n;    M.elements[i][i] = elements[i];  } while (--n);  return M;};
3123	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3123/5bb35ddb3516d7e68f3747d86540ffaa68de3fe3/matrix.js/buggy/src/matrix.js