-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to construct a symmetric matrix in nalgebra? #1389
Comments
#1375 is ready to merge, and it'll probably make it to the next release. Hopefully this will be soon. In the meantime, you'll have to:
Hopefully the new |
To elaborate, since there's no example in the PR description, you'll be able to write: let m = stack![ m11, m12;
m21, m22 ]; |
@Andlon Thank you very much! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My goal is to construct a symmetric matrix M, which is composed of some known submatrices.
For example, the M I'm gonna construct is
And the submatrix$M_{ij}$ are some known submatrices:
That is to say, the final M matrix is:
I want to know if there is a method in nalgebra that can still efficiently construct M when the size of M is large.
In Python, the numpy has hstack or vstack function to implement my desire.
Is there a function with the same functionality in nalgebra?
The text was updated successfully, but these errors were encountered: