[uBlas] Fastest way to change sing of matrix
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <CAHq7APFBL_YU5tHEFBhkYKhCQsLdkrv0A_MiJORUUS+sNB1kYQ@mail.gmail.com> |
Hi list, I need to change the sign of each element in a (very large) matrix. I know a way that is very slow A = -A; What is the fastest way to do this? Thanks in Advance _______________________________________________ ublas mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/ublas Sent to: [email protected]