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

Unit TPS constructor needed #50

Closed
DavidSagan opened this issue Dec 21, 2023 · 1 comment
Closed

Unit TPS constructor needed #50

DavidSagan opened this issue Dec 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@DavidSagan
Copy link
Member

Instead of constructing unit TPS variables one at a time, it would be convenient to be able to create an array at once.  Something like:
x = unit_maps(descriptor)
So that x[1], x[2], ..., x[N] are unit maps for variables 1, 2, ..., N. With this, a TPS can be constructed like:
y = 2 + 4.3*x[1]^2 + x[3]

@DavidSagan DavidSagan added the enhancement New feature or request label Dec 21, 2023
@mattsignorelli
Copy link
Contributor

This has been implemented in vars, params, complexvars, and complexparams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants