jax.lax.linalg.symmetric_product#
- jax.lax.linalg.symmetric_product(a_matrix, c_matrix, *, alpha=1.0, beta=0.0, symmetrize_output=False)[source]#
Symmetric product.
Computes the symmetric product
\[\alpha \, A \, A^T + \beta \, C\]where \(A\) is a rectangular matrix and \(C\) is a symmetric matrix.
- Parameters:
- Returns:
A batch of matrices with shape
[..., m, m]
where only the lower triangle is guaranteed to include the correct values on all platforms. Ifsymmetrize_output
isTrue
, the upper triangle is filled with the transpose of the lower triangle, and the whole matrix is valid.