Subject: Re: [ublas] Return type of 'mean_square'
From: Nasos Iliopoulos (nasos_i_at_[hidden])
Date: 2015-08-18 10:35:11
I was debating this myself. I think converting to double is a good idea.
you cast the type do double before.
On 08/10/2015 11:40 AM, Joaquim Duran Comas wrote:
> 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
> ublas mailing list
> Sent to: athanasios.iliopoulos.ctr.gr_at_[hidden]