Attend the Women in ML Symposium on December 7 Register now

tfp.substrates.numpy.math.hpsd_quadratic_form_solvevec

Stay organized with collections Save and categorize content based on your preferences.

Computes rhs^T matrix^-1 rhs, where matrix is HPSD.

Given matrix and rhs, computes rhs^T @ matrix^-1 rhs, where matrix is a Hermitian positive semi-definite matrix.

matrix Floating-point Tensor of shape [..., N, N]. Represents a Hermitian positive semi-definite matrix.
rhs Floating-point Tensor of shape [..., N].
cholesky_matrix (Optional) Floating-point Tensor of shape [..., N, N] that represents a Cholesky factor of matrix.

hpsd_quadratic_form_solvevec Scalar Tensor.