[Dune] [#396] please add "BCRSMatrix += Scalar" operator

Dune dune at dune-project.org
Wed Nov 4 18:50:17 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#396 - please add "BCRSMatrix += Scalar" operator
User who did this - Andreas Dedner (dedner)

----------
It ssems to me that any combination of a scalar with a matrix 
is not a good idea - the only exception is zero. Matrices as groups and
only have a zero element. Diagonal matrices are a ring and have a unit
matrix. To be able to assign, add, subtract a multiple of the unit matrix
to any diagonal matrix is reasonable. To assign the zero matrix to any
matrix is required. Does anybody assign a pi to all entries of a matrix is
an application?
I think we should remove all methods taking a scalar from the matrix classes
they only confuse. Then we can think of reaonable ways of assigning zero or
the unit matrix...
----------

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

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