1 страниц (5 вхождений)
special symbolic display - How can I display the variables symbolically? - Сообщения
#1 Опубликовано: 09.10.2014 02:02:27
#2 Опубликовано: 09.10.2014 02:36:02
#3 Опубликовано: 09.10.2014 03:03:46
Thank you, while this works in this short example it is not feasible in real world calculations:
Are there other means to optimize symbolically without putting figures?

- Engineering calculations usually start with the inputs (constraints), output is at the end. In an extended calculation that is several pages long you can't define all the calculations at the beginning and then just fill the variables.
- This example does not work if you have any loops or if statements in between.
Are there other means to optimize symbolically without putting figures?
#4 Опубликовано: 09.10.2014 04:50:12
Wrote
Are there other means to optimize symbolically without putting figures?
For the given problem a global switch would be handy, which could disable all assignments with the right hand side being numerically evaluable.
You can fake this behaviour by using a custom conditional definition statement. You also might need a modified display function, because for numeric results symbolic optimization just gives ugly formatting.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Опубликовано: 09.10.2014 05:44:45
Wrote
You can fake this behaviour by using a custom conditional definition statement.
This is a step towards the right direction. Again, however :-)
- Your file does not work for me. If I choose sym, I get "a not defined" in the last line P:= I am using the portable version and everything seems to be up to date.
- The usage of a function drastically decreases the readibility of the sheet.
- It is not efficient. I have to put every variable definition in the ugly function just to display one line symbolically.
- You probably didn't mean g_e but g :d
I do not think a global switch is the thing an average engineering user wants. The purpose is to show the dependibility. So only for a selected number of results I want the numerical result and the symbolical result just close to each other. If you define 20 variables and make long calculations you would like to know which variables affect the numerical result and which ones don't.
1 страниц (5 вхождений)
-
Новые сообщения
-
Нет новых сообщений