spd_learn.functional.unupper#

spd_learn.functional.unupper(T)[source]#

Inverse upper function.

This function is the inverse of upper function: it reconstructs symmetric/ Hermitian matrices from their weighted upper triangular parts.

Parameters:

T (ndarray, shape (..., n * (n + 1) / 2)) – Weighted upper triangular parts of symmetric/Hermitian matrices.

Returns:

X – Symmetric/Hermitian matrices.

Return type:

ndarray, shape (…, n, n)

See also

upper

Notes

Added in version 0.4.

Changed in version 0.12: Add support for NumPy and PyTorch.