Return type of 'mean_square'
Joaquim Duran Comas <[email protected]>
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <CAMnFju7SV5aJdRaQexrqGHH-ht5E8Thjnvp3-BdqHZjZdo--gA@mail.gmail.com> |
Hello, Few days ago, I patched the function 'mean_square' for vectors and matrices. Currently, the current return type of the function is AE::value_type. To get better accuracy, is it better return double type than AE::value_type (specially if it is an integuer)? Joaquim Duran