SciPy

scipy.linalg.interpolative.id_to_svd

scipy.linalg.interpolative.id_to_svd(B, idx, proj)[source]

Convert ID to SVD.

The SVD reconstruction of a matrix with skeleton matrix B and ID indices and coefficients idx and proj, respectively, is:

U, S, V = id_to_svd(B, idx, proj)
A = numpy.dot(U, numpy.dot(numpy.diag(S), V.conj().T))

See also svd.

Parameters
Bnumpy.ndarray

Skeleton matrix.

idxnumpy.ndarray

Column index array.

projnumpy.ndarray

Interpolation coefficients.

Returns
Unumpy.ndarray

Left singular vectors.

Snumpy.ndarray

Singular values.

Vnumpy.ndarray

Right singular vectors.

Previous topic

scipy.linalg.interpolative.reconstruct_skel_matrix

Next topic

scipy.linalg.interpolative.svd