-
-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
Is your feature request related to a problem? Please describe.
Parameters and variables arrays in @mtkmodel
allows the length to be defined while defining the MTKModel. While doesn't allow user to specify/modify the length.
Describe the solution you’d like
@mtkmodel A begin
@parameters begin
a[1:N] = 10, [description = ""]
end
end
Should add N
as a kwarg.
@mtkmodel A begin
@structural_parameters begin
N = 5
end
@parameters begin
a[1:N] = 10, [description = ""]
end
end
Should create a
of length 5, while allowing user to override with N
.
Additional context
BambOoxX, jaakkor2, Antomek and dfabianus
Metadata
Metadata
Assignees
Labels
No labels