Post Reply 
subscripts in CAS?
12-17-2016, 12:21 PM (This post was last modified: 12-17-2016 12:29 PM by compsystems.)
Post: #7
RE: subscripts in CAS?
Using brackets [], should index to zero and And parentheses in 1.

{a,b,c}(1)
-> a

{a,b,c}[0]
-> a

but
{a,b,c}[0] -> "Index outside range ..."

{a,b,c}(1) or {a,b,c}[1] -> a
So you have two things that do the same thing. for what?

Starting at zero, we avoid rewriting the expressions
sum(a[k]*x^k, k, 0, 5) -> sum(a[k]*x^k, k, 1, 6)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
subscripts in CAS? - Wes Loewer - 12-12-2016, 06:40 PM
RE: subscripts in CAS? - Han - 12-12-2016, 08:57 PM
RE: subscripts in CAS? - compsystems - 12-13-2016, 02:40 AM
RE: subscripts in CAS? - Wes Loewer - 12-15-2016, 04:53 AM
RE: subscripts in CAS? - parisse - 12-15-2016, 07:45 AM
RE: subscripts in CAS? - Wes Loewer - 12-15-2016, 06:40 PM
RE: subscripts in CAS? - compsystems - 12-17-2016 12:21 PM



User(s) browsing this thread: 1 Guest(s)