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

generic ScaledSobolSeq element types #24

Merged
merged 1 commit into from
Sep 3, 2019
Merged

generic ScaledSobolSeq element types #24

merged 1 commit into from
Sep 3, 2019

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Sep 3, 2019

This PR allows the ScaledSobolSeq to have more generic element types, determined by the element types of the lb and ub endpoints.

(Since the underlying SobolSeq values are computed exactly in double precision, being 32-bit integers multiplied by small powers of 2, they can be losslessly converted to other floating-point types, and then scaled to other intervals according to the precision of the endpoints.)

@stevengj stevengj merged commit 709e291 into master Sep 3, 2019
@stevengj stevengj deleted the generictypes branch September 3, 2019 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant