jax_privacy.matrix_factorization.toeplitz.inverse_coef#
- jax_privacy.matrix_factorization.toeplitz.inverse_coef(coef, n=None)[source]#
Finds the inverse coefficients of a lower-triangular Toeplitz matrix.
If \(C\) is a lower-triangular Toeplitz matrix, then so is \(C^{-1}\); this function returns the Toeplitz coefficients of this inverse.
- Parameters:
coef (
Array) – The nonzero coefficients of a lower-triangular Toeplitz matrix \(C\), that is,coefare the leading nonzero entries of \(C[:, 0]\). \(C\) is of size \(n \times n\); iflen(coef) < n, the remaining coefficients are assumed to be zero. Iflen(coef) > n, then only the firstncoefficients are used.n (
int|None) – Optional, the size of the matrix \(C\) (seecoefabove). IfNone, the size of the matrix is equal to the number of coefficients.
- Return type:
Array- Returns:
The Toeplitz coefficients of \(C^{-1}\), of length n.