[Dune] [#420] ScaledIdentityMatrix does not implement complete matrix interface.
Dune
dune at dune-project.org
Wed Aug 20 00:44:09 CEST 2008
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#420 - ScaledIdentityMatrix does not implement complete matrix interface.
User who did this - Carsten Gräser (Carsten)
----------
In my opinion it is problematic to provide this interface for the following reasons:
1)You should not be able to assign values to A[i][j].
2)ScaledIdentityMatrix is designed to be memory efficient just like std:vector<bool>. The only way to provide at least part of the interface would be proxy classes. Currently operator[] uses FieldVector as quick'n dirty proxy class.
Perhaps a more efficient proxy class should be there but it will never
provide the same interface since you can not store references. Furthermore such an implementation will nor be very fast.
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=420#comment501
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