MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: thanks for the help with list - extended syntax question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40678] Re: [mg40617] thanks for the help with list - extended syntax question
  • From: Dr Bob <majort at cox-internet.com>
  • Date: Sun, 13 Apr 2003 02:17:49 -0400 (EDT)
  • References: <200304110602.CAA01980@smc.vnet.net>
  • Reply-to: majort at cox-internet.com
  • Sender: owner-wri-mathgroup at wolfram.com

>> I hate learning new (redundant) computer languages!!!

Who's making you?

Bobby

On Fri, 11 Apr 2003 02:02:37 -0400 (EDT), Nathan Moore 
<nmoore at physics.umn.edu> wrote:

> Why is it in Mathematica that I can't operate on lists as if they are 
> long
> arrays(in the style of c)  It would be orders of magnitude easier or me 
> to
> just type,
> data = {{x1,y1},{x2,y2}...{xn,yn}}
> and then find the desited sum like,
> for(i=0,sum=0;i<;i++) { sum += data[[i,1]]*data[[i,2]]; }
>
> It seems idiotic that syntax like this (which most of the scientific 
> world
> would understand) is not allowed!  I hate learning new (redundant) 
> computer
> languages!!!
>
> Nathan
>
>
>



-- 
majort at cox-internet.com
Bobby R. Treat



  • Prev by Date: RE: Mixed derivative button on basic input palette
  • Next by Date: Re: Mixed derivative button on basic input palette
  • Previous by thread: thanks for the help with list - extended syntax question
  • Next by thread: Re: thanks for the help with list - extended syntax question