1 страниц (4 вхождений)
A few SMath questions to get me going - Сообщения
#1 Опубликовано: 27.01.2012 17:24:16
Greetings -
I have just discovered SMath, and believe I'm falling in love with it!
(convenient, given Valentine's Day is just around the corner)
I have a few questions, though, to get me up and going: I was using 0.90-portable on a Vista-64 machine
1) I don't believe I was able to define range variables (as in MathCAD) for use in indicial notation.
Is this possible, or are for-loops currently all there is?
2) I believe array indices are of the 1 through N sort, as opposed to 0 through N-1 - is this correct?
3) Relative to the sheet-capture below, is there any benefit to pre-defining arrays, as in line 5?
4) I verified the frequency array to be correct (line 6, on the left), but the 2D time array (to its right) was interrupted after an hour of calculation time,
and an astronomical number of page faults. What would be the SMath way of creating that array?
5) Is there a preferred row-column ordering of loops (inner vs outer) as there is in MathCAD?

(screenshot)
I thank you kindly in advance.
Regards,
Louie
I have just discovered SMath, and believe I'm falling in love with it!
(convenient, given Valentine's Day is just around the corner)
I have a few questions, though, to get me up and going: I was using 0.90-portable on a Vista-64 machine
1) I don't believe I was able to define range variables (as in MathCAD) for use in indicial notation.
Is this possible, or are for-loops currently all there is?
2) I believe array indices are of the 1 through N sort, as opposed to 0 through N-1 - is this correct?
3) Relative to the sheet-capture below, is there any benefit to pre-defining arrays, as in line 5?
4) I verified the frequency array to be correct (line 6, on the left), but the 2D time array (to its right) was interrupted after an hour of calculation time,
and an astronomical number of page faults. What would be the SMath way of creating that array?
5) Is there a preferred row-column ordering of loops (inner vs outer) as there is in MathCAD?
(screenshot)
I thank you kindly in advance.
Regards,
Louie
#2 Опубликовано: 27.01.2012 17:38:44
Hello Louie. Great to see new people here!
Re 1) Try the range() function.
Re 2) Yes, you're right.
Re >=3) Sorry, but I have no flickr account...
Best regards, Andrey Ivashov.
Re 1) Try the range() function.
Re 2) Yes, you're right.
Re >=3) Sorry, but I have no flickr account...
Best regards, Andrey Ivashov.
#3 Опубликовано: 27.01.2012 19:26:41
#4 Опубликовано: 28.01.2012 10:37:25
Hello,
Why don't you try dropbox. I am using it for a while and quite satisfied with it (free initially 2GB space - never expires).
Regards,
Radovan
WroteSorry for the delay - most sharing sites are blocked at work.
Why don't you try dropbox. I am using it for a while and quite satisfied with it (free initially 2GB space - never expires).
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений