Message Boards Message Boards

GROUPS:

Extract internals from a ParametricFunction object?

Posted 4 months ago
416 Views
|
2 Replies
|
1 Total Likes
|

If I create a ParametricFunction object for doing ParametricIPOPTMinimize, how can extract the variables from the object?

2 Replies

If pfun is the ParametricFunction, try

Part[pfun["Creator"], 1, 2]

Thanks

In[21]:= cptest = 
 createParam[x^2 - y^2, {Cos[x - y] >= 0.5}, {{x, -5, 5}, {y, -5, 5}}]

Out[21]= ParametricFunction[ <> ]

In[22]:= Part[cptest["Creator"], 1, 2]

Out[22]= {x, y}
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract