Definition of range3

Definition of range3 - [not a bug] - 消息

#1 已发布: 2017/3/23 14:15:05
Joe

Joe

0个赞,共14个帖子。

组: User

Definition of range3 is incorrect in SMath. The correct definition should read range 3 returns a vector that starts at number 1 and ends at number 3 with an increment of number 2 minus number 1.
Number 2 and 3 have been interchanged.
#2 已发布: 2017/3/23 14:54:51
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hello [userlink]JoeF[/userlink]

Wrote

Definition of range3 is incorrect in SMath. The correct definition should read range 3 returns a vector that starts at number 1 and ends at number 3 with an increment of number 2 minus number 1.
Number 2 and 3 have been interchanged.



There's no error. The argument enumeration for any function in SMath Studio is given in the input order (the one you can see even by pasting the math as plain text); accidentally in range(3) the glyph has the three arguments in a row with the 3rd one in the middle, hence probably the confusion

range(1,2,3) -> 2017-03-23 18_49_23-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2017/3/23 14:59:24
Joe

Joe

0个赞,共14个帖子。

组: User

Thanks Davide - I get it now
Joe
  • 有新帖
  • 无新帖