[Dune] [#909] Method 'infinity_norm' does not actually compute the infinity norm

Dune flyspray at dune-project.org
Tue Apr 26 23:01:16 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Oliver Sander (sander) 

Attached to Project - Dune
Summary - Method 'infinity_norm' does not actually compute the infinity norm
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - I would expect a method called 'infinity_norm' of a matrix to compute the infinity norm: the maximum of the absolute values of all entries.  However at least the implementations in DenseMatrix, BCRSMatrix, and Matrix compute something else, namely the maximum over the 1-norms of the matrix rows.  This is a flagrant violation of the principle of least surprise.

The fix is easy, however apparently the behavior is intentional.  At least it is mentioned in the documentation.  Why would I need such a strange norm?  And isn't there a better name for it?

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=909

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list