Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / libs / eigen / doc / snippets / PartialRedux_sum.cpp
blobec82d3e41bcd2ccbd07e44d1996a2347f05f20fb
1 Matrix3d m = Matrix3d::Random();
2 cout << "Here is the matrix m:" << endl << m << endl;
3 cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl;