Definition of range3

Definition of range3 - [not a bug] - Mensajes

#1 Publicado: 23/3/2017 14:15:05
Joe

Joe

0 me gusta en 14 mensajes.

Grupo: 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 Publicado: 23/3/2017 14:54:51
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 23/3/2017 14:59:24
Joe

Joe

0 me gusta en 14 mensajes.

Grupo: User

Thanks Davide - I get it now
Joe
  • Nuevos mensajes
  • Sin mensajes nuevos