Math::GSL::Multifit - Least-squares functions for a general linear model with multiple parameters
use Math::GSL::Multifit qw /:all/;
The functions in this module perform least-squares fits to a general linear model, y = X c where y is a vector of n observations, X is an n by p matrix of predictor variables, and the elements of the vector c are the p unknown best-fit parameters which are to be estimated.
Here is a list of all the functions in this module :
gsl_multifit_linear_alloc($n, $p)
gsl_multifit_linear_free($work)
gsl_multifit_linear($X, $y, $c, $cov, $work)
gsl_multifit_linear_svd($X, $y, $tol, $c, $cov, $work)
gsl_multifit_wlinear($X, $w, $y, $c, $cov, $work
gsl_multifit_wlinear_svd($X, $w, $y, $tol, $rank, $c, $cov, $work)
gsl_multifit_linear_est($x, $c, $cov)
gsl_multifit_linear_residuals($X, $y, $c, $r)
gsl_multifit_gradient($J, $f, $g)
gsl_multifit_test_gradient($g, $epsabas)
gsl_multifit_test_delta($dx, $x, $epsabs, $epsrel)
The following functions are not yet implemented. Patches Welcome!
gsl_multifit_covar
gsl_multifit_fsolver_alloc($T, $n, $p)
gsl_multifit_fsolver_free
gsl_multifit_fsolver_set
gsl_multifit_fsolver_iterate
gsl_multifit_fsolver_name
gsl_multifit_fsolver_position
gsl_multifit_fdfsolver_alloc
gsl_multifit_fdfsolver_set
gsl_multifit_fdfsolver_iterate
gsl_multifit_fdfsolver_free
gsl_multifit_fdfsolver_name
gsl_multifit_fdfsolver_position
For more informations on the functions, we refer you to the GSL offcial documentation: http://www.gnu.org/software/gsl/manual/html_node/
Tip : search on google: site:http://www.gnu.org/software/gsl/manual/html_node/ name_of_the_function_you_want
Jonathan Leto <jonathan@leto.net> and Thierry Moisan <thierry.moisan@gmail.com>
Copyright (C) 2008 Jonathan Leto and Thierry Moisan
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Math::GSL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::GSL
CPAN shell
perl -MCPAN -e shell install Math::GSL
For more information on module installation, please visit the detailed CPAN module installation guide.