Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for lower-triangular matrices #1933

Merged
merged 3 commits into from
Sep 8, 2018

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Sep 8, 2018

No description provided.

template<typename Scalar, int rows>
class FixedLowerTriangularMatrix final {
public:
static int constexpr dimension = rows * (rows + 1) / 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

l4_({ 1,
2, 3,
5, 8, 13,
21, 34, 55, 89}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align the commas; also for m34_.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@eggrobin eggrobin added the LGTM label Sep 8, 2018
@pleroy pleroy merged commit 50cc694 into mockingbirdnest:master Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants