Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14293 > unrolled thread

Summation in Mathematica

Started byBen Blomberg <bblomberg@mail.bradley.edu>
First post2013-04-24 11:02 +0000
Last post2013-04-26 08:24 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Summation in Mathematica Ben Blomberg <bblomberg@mail.bradley.edu> - 2013-04-24 11:02 +0000
    Re: Summation in Mathematica debguy <johnandsara2@cox.net> - 2013-04-25 06:52 +0000
    Re: Summation in Mathematica Roland Franzius <roland.franzius@uos.de> - 2013-04-26 08:24 +0000

#14293 — Summation in Mathematica

FromBen Blomberg <bblomberg@mail.bradley.edu>
Date2013-04-24 11:02 +0000
SubjectSummation in Mathematica
Message-ID<kl8e4n$on7$1@smc.vnet.net>
Hello All,

I am trying to understand a piece of code I found but I am stuck on this
summation. This is part of a larger do loop over n.

    UnderoverscriptBox[\(\[Sum]\), \(m = \(-10\)\),
\(10\)]\(\(eigenfunctionsort[n, j]\)[\([m + 11]\)]
Exp[I*2*\[Pi]*m*x/dp]\)\),{j,1,21}]

What I mainly do not understand is  what is happening with the [m+11]. Is
that being multiplied with eigen function sort with each step in the sum,
or is that simply adding 11 to m at each step in the sum?

Thanks Ben

[toc] | [next] | [standalone]


#14310

Fromdebguy <johnandsara2@cox.net>
Date2013-04-25 06:52 +0000
Message-ID<klajrd$3bb$1@smc.vnet.net>
In reply to#14293
UnderoverscriptBox[\(\[Sum]\), \(m = \(-10\)\),
\(10\)]\(\(eigenfunctionsort[n, j]\)[\([m + 11]\)]
Exp[I*2*\[Pi]*m*x/dp]\)\),{j,1,21}] // DisplayForm

does not work on my mm v. 4.0 and I'm unsure what's missing.  a table
or another Sum involving j maybe?  I'm getting a \(\) not paired error
and missing [.

but as I see it

fun[[m+11]]

necessarily means to take a Part of eigenfunctionsort[n, j] ; which
isn't obviously a number, list, or symbol from where I sit.


Ben Blomberg wrote:
> Hello All,
>
> I am trying to understand a piece of code I found but I am stuck on this
> summation. This is part of a larger do loop over n.
>
>     UnderoverscriptBox[\(\[Sum]\), \(m = \(-10\)\),
> \(10\)]\(\(eigenfunctionsort[n, j]\)[\([m + 11]\)]
> Exp[I*2*\[Pi]*m*x/dp]\)\),{j,1,21}]
>
> What I mainly do not understand is  what is happening with the [m+11]. Is
> that being multiplied with eigen function sort with each step in the sum,
> or is that simply adding 11 to m at each step in the sum?
>
> Thanks Ben

[toc] | [prev] | [next] | [standalone]


#14318

FromRoland Franzius <roland.franzius@uos.de>
Date2013-04-26 08:24 +0000
Message-ID<klddjj$d0m$1@smc.vnet.net>
In reply to#14293
Am 24.04.2013 13:02, schrieb Ben Blomberg:
> Hello All,
>
> I am trying to understand a piece of code I found but I am stuck on this
> summation. This is part of a larger do loop over n.
>
>      UnderoverscriptBox[\(\[Sum]\), \(m = \(-10\)\),
> \(10\)]\(\(eigenfunctionsort[n, j]\)[\([m + 11]\)]
> Exp[I*2*\[Pi]*m*x/dp]\)\),{j,1,21}]
>
> What I mainly do not understand is  what is happening with the [m+11]. Is
> that being multiplied with eigen function sort with each step in the sum,
> or is that simply adding 11 to m at each step in the sum?


The piece of code should be read in InputForm

Sum[eigenfunctionsort[n, j][[m + 1]] * Exp[2 *\[Pi] *I *m *x /dp],
{m, -10,  10}]

In FullForm, eigenfunctionsort[n, j][[m + 1]]  means

Part[eigenfunctionsort[n, j],m+1],

the m+1-component of the vector of eigenfunctions probably with quantum 
numbers n and j.

-- 

Roland Franzius

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web