View source: R/103_atoms_matrix_frac.R
| matrix_frac | R Documentation |
Computes \mathrm{trace}(X^T P^{-1} X). If P is a constant matrix, uses
a QuadForm shortcut for efficiency.
matrix_frac(X, P)
X |
A matrix expression (n by m) |
P |
A square matrix expression (n by n), must be PSD |
An expression representing \mathrm{trace}(X^T P^{-1} X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.