scipy.linalg.interpolative.

reconstruct_matrix_from_id#

scipy.linalg.interpolative.reconstruct_matrix_from_id(B, idx, proj)[Quelle]#

Rekonstruiert eine Matrix aus ihrer ID.

Eine Matrix A mit der Skelettmatrix B und den ID-Indizes und Koeffizienten idx bzw. proj kann wie folgt rekonstruiert werden:

numpy.hstack([B, numpy.dot(B, proj)])[:,numpy.argsort(idx)]

Siehe auch reconstruct_interp_matrix und reconstruct_skel_matrix.

Parameter:
Bnumpy.ndarray

Skelettmatrix.

idxnumpy.ndarray

Spaltenindex-Array.

projnumpy.ndarray

Interpolationskoeffizienten.

Rückgabe:
numpy.ndarray

Rekonstruierte Matrix.