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

MathGroup Archive 2012

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

Search the Archive

How to Extract Conditional Expression?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127582] How to Extract Conditional Expression?
  • From: ScottG <sbg at acw.com>
  • Date: Sun, 5 Aug 2012 02:34:31 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

I have ...

x -> ConditionalExpression[#1^2 + 3 #1 + 2 C[1],   C[1] in Integers]

and I want

f[x_] = x^2 + 3 x + 6

How do I get there other than cut-and-paste?

Thanks for any insight.

Cheers, Scott





  • Prev by Date: Re: Evaluation of a whole notebook from another one
  • Next by Date: Re: Problem finding maximum
  • Previous by thread: Re: Problem finding maximum
  • Next by thread: Re: How to Extract Conditional Expression?