| trdot | R Documentation |
Computes the trace inner product of two matrices A and B.
trdot(A, B)
A, B |
square matrices. |
The trace inner product on Mat_{n\ x\ n}(\mathbb{C}) is
defined as
\langle A, B \rangle := tr(A^*B)
J(), tr(), cartesian()
A <- rbind(1:5, 2:6, 3:7)
B <- rbind(7:11, 8:12, 9:13)
# Compute the trace inner product of A and B
trdot(A, B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.