Opened 13 years ago
Closed 13 years ago
#510 closed request (fixed)
funtion creating vector<vector<T>> from istream
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.6 |
Component: | utility | Version: | trunk |
Keywords: | Cc: |
Description
In Vector and Matrix the istream constructors contain code loading a vector<vector<double> > from the istream. We should lift out this to a function.
- This will avoid duplicating code.
- The function might be useful elsewhere.
There is no reason to limit to double, so why not allow types such as int and string as well.
Change History (7)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
comment:4 Changed 13 years ago by
comment:5 Changed 13 years ago by
comment:6 Changed 13 years ago by
comment:7 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [1930]) avoid copying in MatrixWeighted??(istream), i.e., avoid use of intermediate Matrix. closes #510
Note: See
TracTickets for help on using
tickets.
(In [1922]) working on ticket 510 (refs #510)