-
Notifications
You must be signed in to change notification settings - Fork 133
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
Add a linear algebra tutorial #4391
Comments
@fingolfin A first version of this tutorial is now available at https://www.oscar-system.org/tutorials/LinearAlgebra/. |
I have sent a long email to @HereAround @aaruni96 and @fingolfin with some feedback including aspects requiring discussion. If desired, I can paste a copy of the email into this issue. |
@JohnAAbbott and I just discussed this tutorial and made improvements to it. Here are some points that might be good to discuss in triage tomorrow @fingolfin :
Out of curiosity: |
Maybe we can already answer some of them.
Why redundant? One takes a two-dimensional array and the other a list of one-dimensional arrays.
Does not exist.
I think people would be open to changing it, see #3619 (comment).
but the output is not pretty.
Yes, this is working as expected.
For which matrices is this happening? The eigenvalues are elements of the base ring for the examples I tried:
|
Indeed!
Because the two middle arguments (2,3) specify the dimensions of the matrix, which could be inferred from the list of rows (last argument: @JohnAAbbott told me earlier that such a constructor exists for the build-in julia matrices. This raised the question if we should mimic this constructor in OSCAR. I just skimmed over the julia documentation, but could not find such a constructor for the build-in julia matrices. @JohnAAbbott , could you give an example?
I understand that we do not want to document every method Either way, it should help that this is covered in the tutorial.
Ok. Thx for the pointer!
Thx!
Thx for confirming!
Nvm my last question - I confused myself: "The problem was sitting in front of the computer". ;) |
In some form this came up recently in #4380, but the same argument applies. It helps to quickly see the dimensions for large matrices or for matrices with complex expressions as entries. One could probably add both versions to the tutorial.
I agree that this should be added (I also did not find it in the documentation). |
I have just made PR #1976 in AbstractAlgebra so that |
Due to recent questions by people interested in using OSCAR but coming from e.g. OSCAR, we noticed that we could really use a good Linear Algebra tutorial on our website.
Teaching things like
matrix(R, [1 2 ;3 4])
or via special constructors likeidentity_matrix
)The text was updated successfully, but these errors were encountered: