Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 4 of file tutoLeastSquare.cpp.
5{
9 beta << 0, 1, 2,
10 2, 3, 4,
11 2, 1, 6,
12 0, 3,-1,
13 3,-1, 1;
15 stk_cout <<
"STK++ MultiLeastSquare:\n";
16 stk_cout <<
"-----------------------\n";
20 stk_cout <<
"\nlapack MultiLeastSquare:\n";
21 stk_cout <<
"------------------------\n";
25 return 0;
26}
#define stk_cout
Standard stk output stream.
Derived & rand(Law::IUnivLaw< Type > const &law)
set random values to this using a distribution law given by the user.
virtual bool run()
run the computations.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
The class MultiLeastSQquare solve the least square problem when the response b is multidimensional.
CArray< Real, UnknownSize, UnknownSize, Arrays::by_col_ > CArrayXX
References STK::ArrayBase< Derived >::rand(), STK::ILeastSquare< Derived >::run(), stk_cout, and STK::ILeastSquare< Derived >::x().