Disabled external gits
This commit is contained in:
4
cs440-acg/ext/eigen/doc/snippets/LeastSquaresQR.cpp
Normal file
4
cs440-acg/ext/eigen/doc/snippets/LeastSquaresQR.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
MatrixXf A = MatrixXf::Random(3, 2);
|
||||
VectorXf b = VectorXf::Random(3);
|
||||
cout << "The solution using the QR decomposition is:\n"
|
||||
<< A.colPivHouseholderQr().solve(b) << endl;
|
Reference in New Issue
Block a user