-
Notifications
You must be signed in to change notification settings - Fork 27
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
Move primal::NumericArray
to core
#1500
Conversation
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.
Thanks @gunney1 -- seems like a reasonable change.
NumericArray
is more of a (linear) algebra support class and does not include any geometry, although it contains the core functionality for primal::Point
and primal::Vector
.
Required changes:
- It looks like the core_numeric_array unit tests are commented out. I'd be happy to approve once those are added back in.
- I agree w/ @BradWhitlock that
NumericArray
should be in the same directory as the other array classes
Clarification:
Also, I'm a bit confused about this line in the PR description:
It has general utilities like supporting multidimensional index arithmetic.
since I don't think it directly contains any functionality for multidimensional indexing. Am I missing something, or did you mean that it can be used to help w/ multidimensional indexing? If so, do we have any existing examples?
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.
Thanks @gunney1 !
Move
primal::NumericalArray
class tocore
The motivation for this:
NumericalArray
doesn't depend onprimal
where it had lived.This PR implements issue #1488.