Reconstruct matrix from its ID.
A matrix A with skeleton matrix B and ID indices and coefficients idx and proj, respectively, can be reconstructed as:
numpy.hstack([B, numpy.dot(B, proj)])[:,numpy.argsort(idx)]
See also reconstruct_interp_matrix and reconstruct_skel_matrix.
Parameters: | B : numpy.ndarray
idx : numpy.ndarray
proj : numpy.ndarray
|
---|---|
Returns: |
|