Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline JoeF  
#1 Posted : 23 March 2017 20:15:05(UTC)
JoeF


Rank: Member

Groups: Registered
Joined: 27/02/2017(UTC)
Posts: 14
United States

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.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 23 March 2017 20:54:51(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hello JoeF Offline

Originally Posted by: JoeF Go to Quoted Post
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 Good

range(1,2,3) -> 2017-03-23 18_49_23-SMath Studio - [Page1_].png

Edited by user 23 March 2017 20:58:13(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline JoeF  
#3 Posted : 23 March 2017 20:59:24(UTC)
JoeF


Rank: Member

Groups: Registered
Joined: 27/02/2017(UTC)
Posts: 14
United States

Thanks Davide - I get it now
Joe

Edited by moderator 24 March 2017 20:37:04(UTC)  | Reason: marked as SOLVED - title edited

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.