4int main(
int argc,
char** argv)
6 CArrayXX y(1000,3), x(1000,5), beta(5,3);
15 stk_cout <<
"STK++ MultiLeastSquare:\n";
16 stk_cout <<
"-----------------------\n";
20 stk_cout <<
"\nlapack MultiLeastSquare:\n";
21 stk_cout <<
"------------------------\n";
#define stk_cout
Standard stk output stream.
This file include all the header files of the STK++ project.
Derived & rand(Law::IUnivLaw< Type > const &law)
set random values to this using a distribution law given by the user.
virtual bool run()
Compute the Least-Square solution.
The class MultiLeastSQquare solve the least square problem when the response b is multidimensional.
The class MultiLeastSQquare solve the least square problem when the response b is multidimensional.
The namespace STK is the main domain space of the Statistical ToolKit project.
CArray< Real, UnknownSize, UnknownSize, Arrays::by_col_ > CArrayXX
int main(int argc, char **argv)