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

Easier definition of the axial driver and a ScalarDriver #31

Closed
LemurPwned opened this issue Oct 25, 2023 · 0 comments · Fixed by #34
Closed

Easier definition of the axial driver and a ScalarDriver #31

LemurPwned opened this issue Oct 25, 2023 · 0 comments · Fixed by #34
Assignees

Comments

@LemurPwned
Copy link
Owner

If we want to set a constant value for an Axial driver we need to do something like:

AxialDriver(ScalarDriver.getConstantDriver(H[0]),
            ScalarDriver.getConstantDriver(H[1]),
            ScalarDriver.getConstantDriver(H[2])))

instead, perhaps an easier way:

AxialDriver(*H)

Scalar Driver can also be assumed to be constant by default:

ScalarDriver(val) == ScalarDriver.getConstantDriver(val)
@LemurPwned LemurPwned self-assigned this Oct 25, 2023
@LemurPwned LemurPwned linked a pull request Oct 27, 2023 that will close this issue
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 a pull request may close this issue.

1 participant