Replies: 2 comments
-
Does |
Beta Was this translation helpful? Give feedback.
0 replies
-
Works! But, block diagonal form is obtained only from the well-arranged @rusty1s |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a block diagonal matrix to calculate its eigenvalues and eigenvectors from n different size of vectors.
The below is a simple result that I expected,
Then, H, eigenvalues, and eigenvectors are the followings
Can someone give me any clues to write a batch-wise code?
(Instead of the for loop:
*[torch.outer(x, x) for v in vectors]
)For example,
Beta Was this translation helpful? Give feedback.
All reactions