Set all matrix elements to some double val

Enes Makalic <[email protected]>
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Hi,

I was wondering if there is a method to set all elements of a
dynamically created Matrix/Vector to some (double) value. I have tried
e.g:

set(matrix, 1.0)

I know its easy to add such a method to my code, however I would prefer
to use one if it exists.

Thanks you,

- Enes



_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.