Documentation: Fix examples and clarify Eigen API notes
libeigen/eigen!2652 Closes #998, #2142, #301, #1822, #1959, #805, #462, #308, #2146, #1335, #634, #81, and #46
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
bc5f5f685a
commit
0af925cb01
@@ -10,5 +10,5 @@ int main() {
|
||||
Eigen::VectorXf b = Eigen::VectorXf::Random(3);
|
||||
std::cout << "Here is the right hand side b:\n" << b << std::endl;
|
||||
std::cout << "The least-squares solution is:\n"
|
||||
<< A.bdcSvd(Eigen::ComputeThinU | Eigen::ComputeThinV).solve(b) << std::endl;
|
||||
<< A.bdcSvd<Eigen::ComputeThinU | Eigen::ComputeThinV>().solve(b) << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user