Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Translate the entire conversation x

Returning the name of a function as a string?

StuartBruff
23-Emerald III

Returning the name of a function as a string?

While porting and revamping my set (uniqueness) functions to Mathcad Prime 10 from Mathcad 15, I felt the need for speed.  Whilst I have set functions that will handle functions (to some degree), I wanted to use a uniqueness algorithm that relied on presorting an array.    However, Mathcad's built-in sort function won't sort functions.  After having a slight think about the problem, I wondered if I could use the format string function.  I can, sort of, in some cases, but not in general.

 

2024 10 08 G.png

 

Apart from possibly digging around in the worksheet API, does anybody know of a more reliable method of converting a function name to its equivalent string or how to sort on functions?

 

Stuart

0 REPLIES 0
Announcements

Top Tags