|
[Date Index]
[Thread Index]
[Author Index]
Re: Coefficients of previous result
- To: mathgroup at smc.vnet.net
- Subject: [mg53130] Re: [mg53096] Coefficients of previous result
- From: yehuda ben-shimol <benshimo at bgu.ac.il>
- Date: Fri, 24 Dec 2004 05:59:25 -0500 (EST)
- References: <200412231258.HAA21139@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Taken directly from Mathematica's help
NumericRound[x_] := MapAll[If[NumericQ[#], Round[#], #] &, x]
so NumericRound[expr] will give you exactly what you need.
yehuda
Milind Gupta wrote:
>The result of my previous step is something like this:
>
>expr = 1. + 2. x + 2. x^2 + 2. x^3
> -----------------------------------------
> 1. + 2. x + 2. x^2
>
> But I need it to be like this:
>
>
>expr = 1 + 2 x + 2 x^2 + 2 x^3
> -----------------------------------------
> 1 + 2 x + 2 x^2
>
>so that I can use it with another function properly. Is there any way
>to do that?
>
>Milind
>
>
>
Prev by Date:
Re: Intersection Problem With Version 5.1
Next by Date:
Re: plotting two functions on the one graph
Previous by thread:
Re: Coefficients of previous result
Next by thread:
Re: Coefficients of previous result
|