A question about efficiency
Tim <[email protected]> Fri, 23 Jul 2004 17:06:26 +1000
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey guys, A simple question here. How do I apply a matrix transformation 'A' to a vector 'x', without storing the result into another vector? The only way I can think of doing it now is to do: "mult(A,x,y); copy(y,x)" I ask this because I want to be able to transform all the elements in a container of vectors, without getting bogged down by unnecassary calls to copy. Thanks in advance, Timothy Ling _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/