Update SVD Module to allow specifying computation options with a template parameter. Resolves #2051

This commit is contained in:
Arthur
2021-11-29 20:50:46 +00:00
committed by Rasmus Munk Larsen
parent 4a76880351
commit eef33946b7
23 changed files with 766 additions and 636 deletions

View File

@@ -11,5 +11,5 @@ int main()
VectorXf b = VectorXf::Random(3);
cout << "Here is the right hand side b:\n" << b << endl;
cout << "The least-squares solution is:\n"
<< A.bdcSvd(ComputeThinU | ComputeThinV).solve(b) << endl;
<< A.template bdcSvd<ComputeThinU | ComputeThinV>().solve(b) << endl;
}