Andrew,

> Some of the FullMatrix operations are clearly reserved for square
> matrices, but why, for example, are the methods "swap_row" and
> "swap_col" reserved?

Are they? There isn't an assertion in the code that would enforce this. 
However, it seems to be that the functions are buggy (they use m() and n() 
when they should use the opposite functions) -- is that what you mean? If 
you agree with this, then I'll fix it as soon as possible.

In general, the answer to this question is: it's historic, people did what 
they needed and if it hasn't been changed to be more general so far then 
it's most likely because nobody ever had a need for it. If someone has, 
however, then it's usually not hard to change -- in other words, if you 
think that you'd like to see something changed, please just send us a 
patch and we'll be happy to include it!

Best
 Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to