-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add DataIntegralProblem
#491
Merged
Merged
Changes from 14 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
07e5698
add IntegralDataProblem
IlianPihlajamaa 181847d
fix mistake
IlianPihlajamaa 2fcfbb5
another small mistake
IlianPihlajamaa dfd917a
removed `IntegralDataProblem`, added x and dim field to `IntegralProb…
IlianPihlajamaa e60e921
Stop exporting IntegralDataProblem
IlianPihlajamaa a92e7f7
fix typo in IntegralProblem
IlianPihlajamaa af4cfb8
removed one unnecessary inner constructor
IlianPihlajamaa caedc7c
remove method ambiguity
IlianPihlajamaa 7cee282
add problem building tests
IlianPihlajamaa 6b21a0d
ran the format_document.jl thing in VScode
IlianPihlajamaa 09561b6
Update basic_problems.jl
IlianPihlajamaa cdc3663
revert to DataIntegralProblem
IlianPihlajamaa d3619db
add additional assert
IlianPihlajamaa 124d3be
rename `DataIntegralProblem` to `SampledIntegralProblem`
IlianPihlajamaa 1e960d1
change default dimension to `ndims(y)`
IlianPihlajamaa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to leave it up to the user? I think that just adds more work in the implementation without a tangible benefit. dimension should always be the last one as other wise you'll have a performance hit from column major, so we should just stick to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I disagree, with both (1) that the last dim is always faster, and (2) even if it were that we should force all users to use that.
while there are better ways to do a two-dimensional trapezoidal rule of course.
Having said that, you are of course right that the last dimension is typically faster and should be the default, so I'll change that.