subscripts in CAS?
|
12-13-2016, 02:40 AM
(This post was last modified: 12-13-2016 02:46 AM by compsystems.)
Post: #3
|
|||
|
|||
RE: subscripts in CAS?
examples of use on CAS MODE, n>0
0: with Σ cmd purge(a); Σ(a[k]*x^k,k,1,3) -> x*a[1]+x^2*a[2]+x^3*a[3] // with [] at(a, k-1) == a[1] Σ(a(k)*x^k,k,1,3) -> x*a(1)+x^2*a(2)+x^3*a(3) // with () a:=MAKELIST(x,x,1,3); -> {1,2,3} Σ(a(k)*x^k,k,1,3) -> x+2*x^2+3*x^3 1: with SUM cmd purge(a); sum(a[k]*x^k,k,1,3); -> x*a[1]+x^2*a[2]+x^3*a[3] // with [] sum(a(k)*x^k,k,1,3); -> x*a(1)+x^2*a(2)+x^3*a(3) // with () a:=MAKELIST(x,x,1,3); -> {1,2,3} sum(a(k)*x^k,k,1,3) -> x+2*x^2+3*x^3 2: with SEQ cmd purge(a); seq(a(k)*x^k,k,1,3); -> [x*a(1),x^2*a(2),x^3*a(3)] a:=MAKELIST(x,x,1,3); -> {1,2,3} seq(a(k)*x^k,k,1,3); ->[x,2*x^2,3*x^3] ΣLIST( seq(a(k)*x^k, k,1,3)) -> x+2*x^2+3*x^3 --- I would like to see the notation using the character ↓ To differentiate it from other operations with parenthesis (evaluation) and so that pretty-print can decode more easily seq(a↓(k)*x^k,k,1,5); -> [x*a↓(1),x^2*a↓(2),x^3*a↓(3),x^4*a↓(4),x^5*↓a(5)] |
|||
« Next Oldest | Next Newest »
|
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)