Skip to content

mtx_diag

mtx_diag creates a diagonal matrix and can also extract the diagonal of an input matrix. The help patch demonstrates supplying diagonal values as creation arguments, as in mtx_diag 7 9 8.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for iemmatrix and install it. Then create an object with declare -lib iemmatrix -path iemmatrix. Finally, use mtx_diag or any other object from iemmatrix.


Similar


    Comments

    Contributors