SMath

The for and range commands in SMath Studio

skyground21 2023. 5. 26. 08:46

Introduction to the use of SMath Studio
Prepared by Gilberto E. Urroz, May 2010
 
 
The for and range commands in SMath Studio
 
p.59~
 
 

 
Using ranges:
Ranges are needed for the "for" statement.
A range represents a vector whose elements follow a certain pattern.
Ranges can be entered as :
(1) range(start, end) becomes: start..end (increment = 1)
(2) range(start, end, start+increment) becomes: start, start+increment .. end
 
https://youtu.be/w-wghfPpypg


Introduction to the use of SMath Studio_P59.sm
0.02MB
반응형
LIST