Hi
The y values (return value of the functions) have to be of type Real as the
alogrithm rely on the SVD method... and looking back I think making the x
values a template parameter is "overengineered" here.
regards
Klaus
On Friday 25 July 2008 11:21:56 Silakhdar Krikeb wrote:
> Hi
>
> The contructor of the class LinearLeastSquaresRegression takes three
> argument of which two are std::vector<T>& while the the result of
> the least square regression is save in a container of type Array, is there
> any design reason for that and why can't the class Array just be extended
> to a template class Array<T>?
>
> Thank you!
>
> Regards
>
> Silakhdar
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev