-
-
Notifications
You must be signed in to change notification settings - Fork 453
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
implement norms for matrices #1763
Comments
Attachment: trac_1763via2512.patch.gz |
comment:2
This patch adds the most common norm used for matrices: 1,2,\inf and Frobenius (and "entry-wise norm"). 2 points:
|
apply after the above patch |
comment:4
Attachment: 1763-2.patch.gz Hi Didier, I have a few concerns about the patch:
Since all of this is fairly straightforward, I went ahead and put up an add-on patch. |
comment:5
This doesn't handle matrices with negative or complex entries correctly, it should be taking absolute values in several places. +1 to AlexGhitza's changes though. |
apply instead of the other patches |
comment:6
Attachment: 1763-replacement.patch.gz I modified the previous patches so that norm() works correctly on matrices with negative and/or complex entries. I also added a conjugate() function for conjugating a complex matrix. 1763-replacement.patch should be applied instead of the previous patches. |
comment:7
Looks good to me. |
comment:8
Merged in Sage 3.0.alpha5 |
Add functionality to implement various types of norms on matrices; for starters, see
http://en.wikipedia.org/wiki/Matrix_norm
CC: @haraldschilly
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/1763
The text was updated successfully, but these errors were encountered: