Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

Re: Raise lists of a list to powers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27092] Re: [mg27079] Raise lists of a list to powers
  • From: BobHanlon at aol.com
  • Date: Sun, 4 Feb 2001 02:58:18 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Inner[Power, {{a, b, c}, {d, e, f}, {g, h, i}}+1, {r, s, t}, List]

{{(a + 1)^r, (b + 1)^s, (c + 1)^t}, {(d + 1)^r, (e + 1)^s, 
   (f + 1)^t}, {(g + 1)^r, (h + 1)^s, (i + 1)^t}}

% == 
  Thread[Power[Transpose[{{a, b, c}, {d, e, f}, {g, h, i}}+1], {r, s, t}]]

True


Bob Hanlon

In a message dated 2001/2/3 5:21:08 AM, Matthias.Bode at oppenheim.de writes:

>I have a list of lists
>
>{{a, b, c}, {d, e, f}, {g, h, i}, ...}.
>
>1. To each value 1 has to be added. (I can do that.)
>
>2. The new values (a+1, b+1, ...) have to be raised to a series of powers:
>
>a, d, g have to be raised to r;
>b, e, h have to be raised to s
>and c, f, i to t.
>
>There is no function governing the exponents r, s, t; they are just a list
>of values like -(1/256) or -(1/12).
>
>Map, Thread, Apply &c. so far knew to thwart my efforts most effectively.
>
>


  • Prev by Date: Re: Converting Notebook-Files to PDF
  • Next by Date: Re: assigning parameters from a matrix
  • Previous by thread: Re: Raise lists of a list to powers
  • Next by thread: Re: Raise lists of a list to powers