473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

complex numbers should respect the "I" representation

hi

I think complex numbers should respect the "i" or "I" representation,
instead of "j".
No reason being cute and using a different character instead of the
traditional representation? At least have the decency of supporting
the orginal representation?
Programmers use j as frequently as i as indexing variable, I see no
reason choosing "j" over "i". Have some respect for majority's rules.
This is childish.

Jun 28 '08 #1
6 895
Ant
On Jun 28, 1:48 pm, "narutocan...@gmail.com" <narutocan...@gmail.com>
wrote:
I think complex numbers should respect the "i" or "I" representation,
instead of "j".
No reason being cute and using a different character instead of the
traditional representation? At least have the decency of supporting
the orginal representation?
You're looking at this from a very narrow perspective. i is indeed the
common notation in the realm of mathematics. However, in the realm of
engineering, j is more common (i is used for current). So given that
both i and j are in common usage for denoting a complex number, and
that i is common for indexing, then j is a perfectly reasonable
notation for Python to use.
Programmers use j as frequently as i as indexing variable, I see no
reason choosing "j" over "i". Have some respect for majority's rules.
This is childish.
Do some research before flaming on a subject on which you only have
one side of the story.

--
Ant
Jun 28 '08 #2
On Jun 28, 1:48*pm, "narutocan...@gmail.com" <narutocan...@gmail.com>
wrote:
hi

I think complex numbers should respect the "i" or "I" representation,
instead of "j".
No reason being cute and using a different character instead of the
traditional representation? At least have the decency of supporting
the orginal representation?
Programmers use j as frequently as i as indexing variable, I see no
reason choosing "j" over "i". Have some respect for majority's rules.
This is childish.
You could set "I = 1j" at the start of your scripts. Then you can
happily write your complex numbers in the form:

3+4*I

Mark
Jun 28 '08 #3
In article
<6c**********************************@w1g2000prd.g ooglegroups.com>,
"na**********@gmail.com" <na**********@gmail.comwrote:
hi

I think complex numbers should respect the "i" or "I" representation,
instead of "j".
No reason being cute and using a different character instead of the
traditional representation?
Ask any electrical engineer what j means.
Jun 29 '08 #4
On 2008-06-29, Roy Smith <ro*@panix.comwrote:
>I think complex numbers should respect the "i" or "I"
representation, instead of "j". No reason being cute and using
a different character instead of the traditional
representation?

Ask any electrical engineer what j means.
And ask them what "I" means.

--
Grant Edwards grante Yow! HUGH BEAUMONT died
at in 1982!!
visi.com
Jun 29 '08 #5
Lie
On Jun 29, 8:39*pm, Grant Edwards <gra...@visi.comwrote:
On 2008-06-29, Roy Smith <r...@panix.comwrote:
I think complex numbers should respect the "i" or "I"
representation, instead of "j". No reason being cute and using
a different character instead of the traditional
representation?
Ask any electrical engineer what j means.

And ask them what "I" means.
Ask an English-speaking man what "I" means, and I'm sure they'll
answer "I is not U".

A select few might understand what "i" means, while another select few
might understand what "j" means, but all of us understand what "I"
means.
Jun 29 '08 #6
In article
<6c**********************************@w1g2000prd.g ooglegroups.com>,
"na**********@gmail.com" <na**********@gmail.comwrote:
hi

I think complex numbers should respect the "i" or "I" representation,
instead of "j".
No reason being cute and using a different character instead of the
traditional representation? At least have the decency of supporting
the orginal representation?
Programmers use j as frequently as i as indexing variable, I see no
reason choosing "j" over "i". Have some respect for majority's rules.
Yeah, I tried Python once, found it used "j" this way and
decided that Perl made a lot more sense.
This is childish.
erm, yes it is, for various values of "this"...

--
David C. Ullrich
Jun 30 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Starbuck | last post by:
OK, first let me say that I am no DB person. But I have a user here who keeps getting this error whenever she does, whatever it is she does, with databases... A google search takes me to...
5
by: Brian Angliss | last post by:
I'm relatively new to scripting in JavaScript, so I'm not too surprised I'm having difficulty scripting up an animation effect for my personal site. What I'm trying to do is the following: When...
3
by: Susie Swint | last post by:
I have the following IIf statement which worked in Access 95 but will not work in Access 2002. The error message I get is that the expression is typed incorrectly, or is too complex to be...
8
by: Matt | last post by:
Hi all, Thank you for taking the time. I have a database with 45 tables on it. 44 tables are linked to a main table through a one to one relationship. My question is, is there no way i can...
5
by: KenLee | last post by:
help: how can I change from "//localhost:numbers/" to just "//localhost/"? I can see the web pages using "//localhost:numbers/" instead of ""//localhost/". I use asp.net 2.o. and windows 2000....
12
by: Russ | last post by:
I tried the following: >>> x = complex(4) >>> y = x >>> y *= 2 >>> print x, y (4+0j) (8+0j) But when I tried the same thing with my own class in place of "complex" above, I found that both...
5
by: trillianx | last post by:
I know there has been lot of discussion on Prime numbers program but I have very specific question. Here is my program: # Find the prime numbers # This is a user input program that lets you...
1
by: wayniac | last post by:
I am having a problem when I try and remove several fields from the lookup. I have many fields, and the error I am getting is "Expression is too complex", is there anyway of going around this or...
0
by: DSM | last post by:
From the nothing-is-so-trivial-it's-not-worth-a-usenet-post file: Shouldn't the default representation of complex numbers be like that of floats? That is, have a decimal point? 1 1.0 1j 1j...
0
by: Robert Kern | last post by:
DSM wrote: Not necessarily. The reason that having floats always have a decimal point is desirable is to ensure roundtripping through eval(repr(x)). The j is sufficient for complexes. There are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.