Boost logo

Ublas :

From: Thomas Lemaire (thomas.lemaire_at_[hidden])
Date: 2005-04-15 01:22:46


Dear all,

I added an input stream operator for a symmetric_matrix (file io.hpp). I
basicaly did copy/paste the operator defined for a matrix, adding two checks:
  - the matrix is square
  - the matrix is symmetric

I checked it for simple examples, it behaves correctly. If you find it
usefull, can anybody commit this ?

Of course this is not an efficient way to serialize the data, since some
values are stored twice. But this is the way operator << works.

-- 
thomas