scipy.linalg.interpolative.
reconstruct_interp_matrix#
- scipy.linalg.interpolative.reconstruct_interp_matrix(idx, proj)[Quelle]#
Rekonstruiere Interpolationsmatrix aus ID.
Die Interpolationsmatrix kann aus den ID-Indizes und Koeffizienten idx bzw. proj wie folgt rekonstruiert werden:
P = numpy.hstack([numpy.eye(proj.shape[0]), proj])[:,numpy.argsort(idx)]
Die ursprüngliche Matrix kann dann aus ihrer Skelettmatrix
BüberA = B @ Prekonstruiert werden.Siehe auch
reconstruct_matrix_from_idundreconstruct_skel_matrix.- Parameter:
- idx
numpy.ndarray 1D-Spaltenindex-Array.
- proj
numpy.ndarray Interpolationskoeffizienten.
- idx
- Rückgabe:
numpy.ndarrayInterpolationsmatrix.