Add squared norm convenience function

Ronald Wampler <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <CAL3wmMP+DggaawnqrFjdE352_4TPpjTJeNj-Ho77UC4+-+YZkA@mail.gmail.com>
Hi,

I was wondering if it would be possible to add a function to calculate
the squared norm? While it's easy to implement one's own version,
it occurs fairly frequently (e.g., in optimization problems) that it
would be nice to have. I would be happy to provide a patch if there is
interest.

Ron
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.