Problem creating a certain data structure
- August 30, 2013
- 1 reply
- 1435 views
Hi,
I'm currently working on preparing a rather large mathcad-document allowing me new scientific calculations on worm gears.I'm currently working on improving the existing modules in order to reduce the load for the computer.
I'm having trouble creating a certain data-structure. Previously I always used for-loops for performing operations. But this lead to many commands being executed even though they were not neccesary. Therefore I'm changing the existing code to a command-form that allows selective execution through if-queries.
Programming in Mathcad works well, but when I execute some commands I need to place the output in subarrays...and I cant get the right data-structure out of this...
Could someone take a look at the uploaded file an maybe tell me how I can recreate the old data-structure?
Kind regards,
Jon

