|
[Date Index]
[Thread Index]
[Author Index]
Re: Notation for Complex Conjugation
- To: mathgroup at smc.vnet.net
- Subject: [mg46040] Re: Notation for Complex Conjugation
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Tue, 3 Feb 2004 18:20:46 -0500 (EST)
- Organization: The University of Western Australia
- References: <bvg0gf$qid$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <bvg0gf$qid$1 at smc.vnet.net>,
alan heider <mathphysabs at yahoo.com> wrote:
> I need to be able to write a function for c.c. that
> simply places an overbar above a symbol or removes an
> existing one, and especially needs to apply to
> products of variables where one may have an overbar
> and the other does not. There is no internal
> representation of the variables such as a + ib, so
> this is strictly a typesetting matter.
Since you only want a format (for output only?) the following should do:
Unprotect[Conjugate]
Conjugate[z_] := OverBar[z]
Protect[Conjugate]
Conjugate[z] w
Conjugate[%]
Cheers,
Paul
--
Paul Abbott Phone: +61 8 9380 2734
School of Physics, M013 Fax: +61 8 9380 1014
The University of Western Australia (CRICOS Provider No 00126G)
35 Stirling Highway
Crawley WA 6009 mailto:paul at physics.uwa.edu.au
AUSTRALIA http://physics.uwa.edu.au/~paul
Prev by Date:
Re: arnoldi method with Mathematica
Next by Date:
Re: RealDigits bug?
Previous by thread:
Re: Notation for Complex Conjugation
Next by thread:
Re: changing replacement rule arrow ( ->) to equal sign(==)...
|