Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Re: [mg5230] Speed of dot product in Mathematica
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Daniel Lichtblau

Posts: 1,761
Registered: 12/7/04
Re: [mg5230] Speed of dot product in Mathematica
Posted: Nov 27, 1996 1:32 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

carlos@mars.Colorado.EDU (Carlos A. Felippa) writes:

> I once tried the form
> Take [list, {from,to,step}]
>but that was rejected as illegal. It seems an unreasonable

For this type of extraction you can use

Table[list[[j]], {j,from,to,step}]


In[9]:= list = Table[j^2, {j,1,30}];

In[10]:= Table[list[[j]], {j,5,30,5}]
Out[10]= {25, 100, 225, 400, 625, 900}

Daniel Lichtblau
Wolfram Research

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.