Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline frapuano  
#1 Posted : 07 November 2010 12:22:04(UTC)
frapuano


Rank: Advanced Member

Groups: Registered
Joined: 01/08/2010(UTC)
Posts: 115
Man
Italy
Location: Rome

Was thanked: 13 time(s) in 13 post(s)
Hi

I am bothering just to request as a future feature what described in the subject.
It is really a must . The program is increasing in capabilities and I guess that a lot of people is developing functions that facilitates some calculation ( or animations ) like the one below reported ; but is frustrating that is not possible to recall them easily .
Actually the only way to address this issue ( I guess ) is to turn a UDF in a Snippet and add it at the beginning of the page where is foressen to use it ( something similar to the include of a c program).

Best regards and thanks a lot for the costant efforts to improve this program.

Francesco

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 07 November 2010 15:05:13(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Francesco,

I agree with you and have been thinking about it as well. The problem is that the UDF can be redefined, as everything else. The simplest way that comes to my mind is just to have an option in the Dynamic assistance to sort the things on item types not only on the alphabetic order of the item names. That way, you can have grouped variables, functions, units, snippets etc. and whenever you activate Dynamic assitance their descriptions an values will be actuall and valid depending on the position in the worksheet. For instance, if you like to see what functions are defined on the actual place in the worksheet, just activate Dynamic assistance and look under "User Defined Functions" group.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline frapuano  
#3 Posted : 07 November 2010 22:35:50(UTC)
frapuano


Rank: Advanced Member

Groups: Registered
Joined: 01/08/2010(UTC)
Posts: 115
Man
Italy
Location: Rome

Was thanked: 13 time(s) in 13 post(s)
Hello Radovan,

for this feature I was thinking to something slightly different . For istance have a directory called UDF like the Snippet one where to save the files that contain mainly functions useful to address a specific type of problems ( so probably would be better to have subdirectories in the UDF with folders specific for Quadrature, Ode,Plotting,sound,ecc functions) . The program should be able to retrive from these files the name of the stored functions and show them in the Insert Function Screen.
Probably this is not too difficult to achieve ..but the difficult part is the documentation side.
How to clearly specify or document the meaning of the input(output) parameters/variables used in the function and the aim of the function itself
Hope that something will be developed for this feature, the organization of the UDF informations is crucial to succeed .

Best regards

Francesco
Offline maweilian  
#4 Posted : 08 November 2010 22:05:07(UTC)
maweilian


Rank: Advanced Member

Groups: Registered
Joined: 09/01/2010(UTC)
Posts: 102
Man
United States
Location: Oregon, USA

Was thanked: 5 time(s) in 5 post(s)
I also think that it would be very nice to use Smath files to define functions that would appear in the "Insert Functions" dialog. The capability to insert snippets combined with collapsible regions is also nice and comes close to the same functionality. On the other hand, it would be very cool to be able to create functions from .sm files that behave just like native Smath functions. Andrey would be able to tell us whether this is possible or practical.

BTW This topic was also discussed in this discussion thread. It makes for interesting reading.

Edited by user 08 November 2010 22:11:11(UTC)  | Reason: Not specified

Will Massie
Mechanical Engineer
Oregon, USA
Offline omorr  
#5 Posted : 09 November 2010 01:48:05(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Yes you are right, Will, it was quite an extensive discussion. The same things there were discussed about, as Francesco mentioned as well.
I think that all the things that have been recently introduced (collapsible regions, snippets, functions as functions arguments, multiline functions, etc.) are all in favor of making functions from .sm files that could behave like native SMath functions. I also have no doubt that Andrey will find the way sooner or later and to decide if this could be possible or practical - as you mentioned.

Regards,
Radovan

Edited by user 09 November 2010 01:50:15(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.