mtx_diff
mtx_diff calculates forward or backward differences between matrix elements, making it useful for numerical derivatives of vectors and matrices. Differences can be taken by row or column using arguments such as row or col, and a direction of -1 selects the reverse direction.
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
Pdand go toToolsFind Externals. Search foriemmatrixand install it. Then create an object withdeclare -lib iemmatrix -path iemmatrix. Finally, usemtx_diffor any other object fromiemmatrix.