Message Boards Message Boards

0
|
4144 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Extract internals from a ParametricFunction object?

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

POSTED BY: Frank Kampas
2 Replies

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}
POSTED BY: Frank Kampas

If pfun is the ParametricFunction, try

Part[pfun["Creator"], 1, 2]
POSTED BY: Ilian Gachevski
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