Array.$diag()
Revision as of 11:16, 1 March 2017 by Joseph (talk | contribs) (→Array.$diag(nthDiagonalIndex,Function|Array of Functions[,param1,param2,...]))
Array.$diag(nthDiagonalIndex,Function|Array of Functions[,param1,param2,...])
Extracts the diagonal at nthDiagonalIndex (-ve for diagonals below the proper diagonal, and zero for the proper diagonal), and applies the functions give as the second parameter.
Same as Array.$d()