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: Evaluating expressions in pure functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28460] Re: [mg28453] Evaluating expressions in pure functions
  • From: Jacqueline Zizi <jazi at club-internet.fr>
  • Date: Fri, 20 Apr 2001 04:24:11 -0400 (EDT)
  • References: <200104190726.DAA19470@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

When applying the pure function, 2*3 will give 6. So I'm not so sure to
well understand your problem

Examples:
Exp[2*3*#] & [1]
Exp[2*3*#] & /@ {1, 2, 3}



Max Ulbrich wrote:

> Hi,
>
> I have the following problem:
> I have a pure function with a product of numbers in it.
> Mathematica doesn't evaluate the product:
>
> Exp[2*3*#]&
>
> I just want to get
>
> Exp[6*#]&
>
> How can I make Mathematica do this?
> Thanks,
>
> Max



  • Prev by Date: Re: Evaluating expressions in pure functions
  • Next by Date: RE: PC - Mac Compatibility
  • Previous by thread: Re: Evaluating expressions in pure functions
  • Next by thread: Re: Evaluating expressions in pure functions