|
[Date Index]
[Thread Index]
[Author Index]
Re: Abs and variables
- To: mathgroup at smc.vnet.net
- Subject: [mg4278] Re: Abs and variables
- From: vvs124 at rsphy1.anu.edu.au (Victoria.Steblina) (Victoria Steblina)
- Date: Sat, 29 Jun 1996 03:53:15 -0400
- Organization: Optical Sciences Centre, ANU
- Sender: owner-wri-mathgroup at wolfram.com
> How can I have the Abs function treat real variables properly?
>I seem to recall a way of declaring a variable real, but I don't
>remember how. If there is such a way, would this work with Abs; i.e.
>fix the variable a so that "Abs[a]" will give a result of "a"?
How about this?
In[114]:= Needs["Algebra`ReIm`"]
In[115]:= Im[a]^=0;
In[116]:= Re[a + I]
Out[116]= a
Vicki
________________________________________________________________________
Victoria Steblina Email: vvs124 at rsphy1.anu.edu.au
Optical Sciences Centre Tel: 61 6 249 5129
Australian National University Fax: 61 6 249 5184
==== [MESSAGE SEPARATOR] ====
Prev by Date:
Re: Wireframes
Next by Date:
Re: Help: Column/Row Vector
Previous by thread:
Re: Abs and variables
Next by thread:
Integration problem
|