Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13609

Re: i^2=1

From John Doty <noqsiaerospace@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: i^2=1
Date 2013-02-26 06:08 +0000
Message-ID <kghjhi$s2s$1@smc.vnet.net> (permalink)
References <kgf39a$mij$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web