nigsp.operations.laplacian.recomposition¶
- nigsp.operations.laplacian.recomposition(eigenval, eigenvec)[source]¶
Recompose a matrix from its eigenvalues and eigenvectors.
At the moment, it supports only 2D (not stacks).
- Parameters:
- eigenval
numpy.ndarray
Array of eigenvalues. The program detects if it’s a diagonal matrix or not.
- eigenvec
numpy.ndarray
Matrix of eigenvectors.
- eigenval
- Returns:
numpy.ndarray
The reconstructed matrix