Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.math.mathematica > #16830
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newspeer1.nac.net!newspump.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Murray Eisenberg <murray@math.umass.edu> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: complex conjugation by star |
| Date | Sun, 20 Apr 2014 08:47:49 +0000 (UTC) |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <lj01jl$s5h$1@smc.vnet.net> (permalink) |
| References | <20140418054638.0964A6A15@smc.vnet.net> |
| Lines | 48 |
| Organization | Time-Warner Telecom |
| NNTP-Posting-Date | 20 Apr 2014 08:53:56 GMT |
| NNTP-Posting-Host | cdf9cd05.news.twtelecom.net |
| X-Trace | DXC=7o7_V><oCR3\>B<_g=9@G7C_A=>8kQj6=;[h;PUXBgb4b4gWQ>GE5;1EFiONJ7[Go6kJHC?Nd797< |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:16830 |
Show key headers only | View raw
I don't see how your definition can be valid. When I type input
f_*:=f/.Complex[u_,v_]->Complex[u,-v]
I see a highlighted asterisk, indicating a syntax error.
On Apr 18, 2014, at 1:46 AM, Brambilla Roberto Luigi (RSE) <Roberto.Brambilla@rse-web.it> wrote:
> I have defined the following useful star complex-conjugation (common star exponent notation)
>
> f_*:=f/.Complex[u_,v_]->Complex[u,-v]
>
> and it works fine. For example BesselJ[2,x+I y]* gives BesselJ[2,x-I y] etc...(x,y defined/undefined).
> Also it is listable on number lists
>
> {1+i2, 5+i6}* gives {1-i2, 5-i6} .
>
> Unfortunately it does not work on symbols, i.e.
> A* gives A even if I have defined A as a complex number by means of Element[A, Complexes].
> Similarly if I define Element[{A,B,G}, Complexes]
>
> {A,B,G}* gives {A,B,G} and (A+B+G)* gives A+B+G.
>
> I'd like to obtain {A*,B*,G*} and A*+B*+G* ( ! )
>
> Is it possible to fix this deficiency, unpleasant in manipulating general expressions where is not known
> if symbols represent real or complex variables ?
>
> Many thanks!
> Rob
>
>
>
>
Murray Eisenberg murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 240 246-7240 (H)
University of Massachusetts
710 North Pleasant Street
Amherst, MA 01003-9305
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar
Re: complex conjugation by star Murray Eisenberg <murray@math.umass.edu> - 2014-04-20 08:47 +0000 Re: complex conjugation by star "Kevin J. McCann" <kjm@KevinMcCann.com> - 2014-04-21 09:11 +0000
csiph-web