Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Apply a function to parts of a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110534] Re: Apply a function to parts of a list
  • From: Peter Pein <petsie at dordos.net>
  • Date: Wed, 23 Jun 2010 01:54:41 -0400 (EDT)
  • References: <hv23tv$5h0$1@smc.vnet.net>

Am Sun, 13 Jun 2010 08:12:47 +0000 (UTC)
schrieb Bob Hanlon <hanlonr at cox.net>:

> 
> data = Thread[Array[#, 3] & /@ {x, y}]
> 
...
> {1, 1/2} # & /@ data
> 
 data.{{1,0},{0,1/2}} is another simple solution to Rui's problem
> 
> 
> Bob Hanlon
> 



  • Prev by Date: Re: Book?
  • Next by Date: Export 3D graphics to Web page (a la LiveGraphics3D)
  • Previous by thread: Re: Apply a function to parts of a list
  • Next by thread: Find value of unknown const that causes integral to equal some value