Finds the trace of Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.


icon

The VI uses the following equation to compute the trace.

where A is Input Matrix, tr(A) is trace, and m and n are the number of rows and the number of columns of Input Matrix, respectively.

Examples

Refer to the following example files included with LabVIEW.

  • labview\examples\Mathematics\Linear Algebra\Linear Algebra Calculator.vi