From: SourceForge.net <noreply@so...>  20071028 23:36:29

Bugs item #1819568, was opened at 20071024 15:40 Message generated for change (Settings changed) made by willisbl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1819568&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Share Libraries Group: None >Status: Pending >Resolution: Invalid Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: wrong matrix norms Initial Comment: (%i1) load(linearalgebra) ; 0 errors, 0 warnings (%o1) /usr/share/maxima/5.13.0/share/linearalgebra/linearalgebra.mac (%i2) a:matrix([1,2,3]); (%o2) [ 1 2 3 ] (%i3) mat_norm(a,1); (%o3) 3 (%i4) mat_norm(a,inf); (%o4) 6 norm 1 should be 6 and norm inf should be 3 Tested in versions 5.10 and 5.13.  Comment By: Barton Willis (willisbl) Date: 20071025 07:13 Message: Logged In: YES user_id=895922 Originator: NO The *matrix* onenorm is the largest column sum; the *matrix* infinitynorm is the largest row sum. So mat_norm(matrix([1,2,3]),1) > 3 and mat_norm(matrix([1,2,3]),'inf) > 6 are correct. You might be thinking that Maxima should convert matrix([1,2,3]) into the *vector* [1,2,3]. Indeed, the onenorm of the *vector* [1,2,3] is 6 and the infinity norm of the *vector* [1,2,3] is 3. But I think that such an automatic conversion is a bad idea. Maxima should have a vector type, but it doesn't. Unless somebody shows me that I'm mistaken, I'll mark this bug as invalid in a few days. Thanks for the report.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1819568&group_id=4933 