Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

RE: Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3881] RE: [mg3819] Function
  • From: "Chandler, Seth" <SChandler at UH.EDU>
  • Date: Sat, 4 May 1996 23:21:03 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

With[{mylist=Array[a,{20}]},
Map[#[[2]]/#[[1]]&,Partition[mylist,2,1]]]

Seth J. Chandler

 ----------
>Subject:  [mg3819] Function

Could you please give me some advice?

 I4m trying to find a function that works on a list like {a1, a2, a3,
a4, ..., an} and returns a list like {a2/a1, a3/a2, a4/a3, ... an/an-1}.

It should be easy but I can4t find the answer.

Thanks a lot.


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Mathematica 2.2.2 for power macintosh - $550 plus shipping
  • Next by Date: Re: Muller's Method
  • Previous by thread: Re: Function
  • Next by thread: Re: Function