Skip to content

matrix.diag

matrix.diag extracts a specified diagonal from a matrix and outputs it as a column matrix. The diagonal number can be set by the first argument or the second inlet, with 0 selecting the main diagonal.


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 ceammc and install it. Then create an object with declare -lib ceammc -path ceammc. Finally, use matrix.diag or any other object from ceammc.

  • Available for .

Similar


    Comments

    Contributors