Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13597 > unrolled thread
| Started by | <fc3a501@uni-hamburg.de> |
|---|---|
| First post | 2013-02-25 07:19 +0000 |
| Last post | 2013-02-27 08:04 +0000 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
i^2=1 <fc3a501@uni-hamburg.de> - 2013-02-25 07:19 +0000
Re: i^2=1 John Doty <noqsiaerospace@gmail.com> - 2013-02-26 06:08 +0000
Re: i^2=1 daniel.lichtblau0@gmail.com - 2013-02-26 06:09 +0000
Re: i^2=1 <fc3a501@uni-hamburg.de> - 2013-02-27 08:04 +0000
| From | <fc3a501@uni-hamburg.de> |
|---|---|
| Date | 2013-02-25 07:19 +0000 |
| Subject | i^2=1 |
| Message-ID | <kgf39a$mij$1@smc.vnet.net> |
No, not I^2=-1 :-)
But similarly: I'd like to have a symbol with the
property i^2=1. And not like slashdotting with
{i^2->1} (which then ignores i^3 and (i+1)(i-1)),
but really automatically i^2=1 as soon as it appears
somewhere, like for I.
How do I define that?
--
Hauke Reddmann <:-EX8 fc3a501@uni-hamburg.de
Die Weltformel: IQ+dB=const.
[toc] | [next] | [standalone]
| From | John Doty <noqsiaerospace@gmail.com> |
|---|---|
| Date | 2013-02-26 06:08 +0000 |
| Message-ID | <kghjhi$s2s$1@smc.vnet.net> |
| In reply to | #13597 |
On Monday, February 25, 2013 12:19:06 AM UTC-7, fc3...@uni-hamburg.de wrote:
> No, not I^2=-1 :-)
>
> But similarly: I'd like to have a symbol with the
>
> property i^2=1. And not like slashdotting with
>
> {i^2->1} (which then ignores i^3 and (i+1)(i-1)),
>
> but really automatically i^2=1 as soon as it appears
>
> somewhere, like for I.
>
>
>
> How do I define that?
Use TagSet[]:
In[1]:= i/:i^2=1;
In[2]:= i^2
Out[2]= 1
[toc] | [prev] | [next] | [standalone]
| From | daniel.lichtblau0@gmail.com |
|---|---|
| Date | 2013-02-26 06:09 +0000 |
| Message-ID | <kghjin$s3n$1@smc.vnet.net> |
| In reply to | #13597 |
On Monday, February 25, 2013 1:19:06 AM UTC-6, fc3...@uni-hamburg.de wrote:
> No, not I^2=-1 :-)
>
> But similarly: I'd like to have a symbol with the
> property i^2=1. And not like slashdotting with
> {i^2->1} (which then ignores i^3 and (i+1)(i-1)),
> but really automatically i^2=1 as soon as it appears
> somewhere, like for I.
>
> How do I define that?
>
> --
>
> Hauke Reddmann <:-EX8
>
> Die Weltformel: IQ+dB=const.
This might give you some possibilities.
http://mathematica.stackexchange.com/questions/18445/hyperbolic-numbers-and-their-polar-form#comment56136_18445
Daniel Lichtblau
Wolfram Research
[toc] | [prev] | [next] | [standalone]
| From | <fc3a501@uni-hamburg.de> |
|---|---|
| Date | 2013-02-27 08:04 +0000 |
| Message-ID | <kgkemc$4cq$1@smc.vnet.net> |
| In reply to | #13615 |
THX. And good to know Mathematica has a Stackexchange too. -- Hauke Reddmann <:-EX8 fc3a501@uni-hamburg.de Die Weltformel: IQ+dB=const.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web