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

One Dimensional Marginal Constructor #446

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Conversation

akleeman
Copy link
Collaborator

@akleeman akleeman commented Aug 2, 2023

Adds a constructor for a MarginalDistribution to make it easier to create one dimensional distributions.

Ie, now you can do:

MarginalDistribution(10.0, 0.1);

instead of

MarginalDistribution(Eigen::VectorXd::Constant(1, 10.0),
                     Eigen::VectorXd::Constant(1, 0.1));

@akleeman akleeman requested a review from peddie August 2, 2023 17:37
Copy link
Contributor

@jbangelo jbangelo left a comment

Choose a reason for hiding this comment

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

I love one dimensional data structures!

@akleeman akleeman merged commit a5bf3eb into master Aug 3, 2023
9 checks passed
@akleeman akleeman deleted the akleeman/1d_marginal branch August 3, 2023 00:13
@RReichert RReichert mentioned this pull request Aug 9, 2023
RReichert added a commit that referenced this pull request Aug 10, 2023
# Changes

This is undoing the submodule change introduced in
#446 (see
`third_party/gzip-hpp`) which undid the work done by
#444.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants