Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The History of "i" [modified]

The History of "i" [modified]

Scheduled Pinned Locked Moved The Lounge
databasetutorialquestionloungelearning
56 Posts 37 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D David Stone

    Chris Maunder wrote:

    i is reserved for sqrt(-1)

    We're not going to start this discussion again...are we? :~

    They dress you up in white satin, And give you your very own pair of wings In August and Everything After

    I'm after everything

    R Offline
    R Offline
    Ryan Binns
    wrote on last edited by
    #22

    David Stone wrote:

    We're not going to start this discussion again...are we?

    What discussion? :-O

    Ryan

    "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

    1 Reply Last reply
    0
    • R Ryan Binns

      Steve Echols wrote:

      I'm not a camel either

      :laugh: Are you sure?

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      Steve EcholsS Offline
      Steve EcholsS Offline
      Steve Echols
      wrote on last edited by
      #23

      :laugh: No humps! Just double checked. Although...hunching over my monitor might give me a "single" in a couple more years. :)


      - S 50 cups of coffee and you know it's on!

      • S
        50 cups of coffee and you know it's on!
        Code, follow, or get out of the way.
      L 1 Reply Last reply
      0
      • D David Stone

        Chris Maunder wrote:

        i is reserved for sqrt(-1)

        We're not going to start this discussion again...are we? :~

        They dress you up in white satin, And give you your very own pair of wings In August and Everything After

        I'm after everything

        C Offline
        C Offline
        code frog 0
        wrote on last edited by
        #24

        Quit being irrational!:laugh:


        The enemy's gate is down. :cool: Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.

        K 1 Reply Last reply
        0
        • M Mircea Grelus

          This brings back memories from the times there was no i. FOR n=0 TO 5 ... NEXT n :) regards, Mircea Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.

          H Offline
          H Offline
          Henrik Husted
          wrote on last edited by
          #25

          So you also programmed on ZX Spectrum :)

          M 1 Reply Last reply
          0
          • C code frog 0

            Quit being irrational!:laugh:


            The enemy's gate is down. :cool: Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.

            K Offline
            K Offline
            KaRl
            wrote on last edited by
            #26

            Yep, it is beginning to become complex :)


            Pull the tapeworm out of your ass Fold with us! ¤ flickr

            C 1 Reply Last reply
            0
            • K KaRl

              Yep, it is beginning to become complex :)


              Pull the tapeworm out of your ass Fold with us! ¤ flickr

              C Offline
              C Offline
              code frog 0
              wrote on last edited by
              #27

              The possibilities are transcendental when you get David and Ryan going on Mathematics. Add in Chris and well... somehow it all equals "i" in the end...:laugh:


              The enemy's gate is down. :cool: Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.

              C 1 Reply Last reply
              0
              • C Chris Maunder

                i is reserved for sqrt(-1) cheers, Chris Maunder

                CodeProject.com : C++ MVP

                C Offline
                C Offline
                code frog 0
                wrote on last edited by
                #28

                I think I reserved i for 2 people at 7:00. :doh:


                The enemy's gate is down. :cool: Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.

                D 1 Reply Last reply
                0
                • A alex barylski

                  You know the ubiqious "i" found in almost every example of a for loop for newbies? On another forum were having this disscussion (sorta)... I said (I believe I read it in an C K&R book) that it's because it's simply an alias for Index which is what "i" is usually doing in a for loop...?? Someone else says it has to do with: They are from general Summation Notation that, like many other mathmatical notations, worked its way into early languages -- specifically Fortran (remember its FORMula TRANSlation) I never would have guessed :P Cheers :) It's frustrating being a genius and living the life of a moron!!! -- modified at 21:18 Wednesday 4th October, 2006

                  A Offline
                  A Offline
                  Andrew Torrance
                  wrote on last edited by
                  #29

                  ok , but why no f in cake ?

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    i is reserved for sqrt(-1) cheers, Chris Maunder

                    CodeProject.com : C++ MVP

                    F Offline
                    F Offline
                    Francisco Viella
                    wrote on last edited by
                    #30

                    Chris Maunder wrote:

                    i is reserved for sqrt(-1)

                    It depends. In electrical engineering, i is reserved for alternate current and, hence, we use j to refer to sqrt(-1). Francisco Silver at last!!

                    C A 2 Replies Last reply
                    0
                    • A alex barylski

                      You know the ubiqious "i" found in almost every example of a for loop for newbies? On another forum were having this disscussion (sorta)... I said (I believe I read it in an C K&R book) that it's because it's simply an alias for Index which is what "i" is usually doing in a for loop...?? Someone else says it has to do with: They are from general Summation Notation that, like many other mathmatical notations, worked its way into early languages -- specifically Fortran (remember its FORMula TRANSlation) I never would have guessed :P Cheers :) It's frustrating being a genius and living the life of a moron!!! -- modified at 21:18 Wednesday 4th October, 2006

                      G Offline
                      G Offline
                      Gary R Wheeler
                      wrote on last edited by
                      #31

                      It started here:   n  Σ  i=0 the mathematical equivalent to:

                      for (i = 0; i <= n; i++) {
                      }

                      Note the terminating condition, as the mathematical expression Σ includes the terminating value.


                      Software Zen: delete this;

                      Fold With Us![^]

                      1 Reply Last reply
                      0
                      • F Francisco Viella

                        Chris Maunder wrote:

                        i is reserved for sqrt(-1)

                        It depends. In electrical engineering, i is reserved for alternate current and, hence, we use j to refer to sqrt(-1). Francisco Silver at last!!

                        C Offline
                        C Offline
                        Chris Maunder
                        wrote on last edited by
                        #32

                        You do realise that as a mathematician it's my duty to insert lots of engineer jokes, right? ;) I'll let you off with a warning this time. cheers, Chris Maunder

                        CodeProject.com : C++ MVP

                        F 1 Reply Last reply
                        0
                        • A alex barylski

                          You know the ubiqious "i" found in almost every example of a for loop for newbies? On another forum were having this disscussion (sorta)... I said (I believe I read it in an C K&R book) that it's because it's simply an alias for Index which is what "i" is usually doing in a for loop...?? Someone else says it has to do with: They are from general Summation Notation that, like many other mathmatical notations, worked its way into early languages -- specifically Fortran (remember its FORMula TRANSlation) I never would have guessed :P Cheers :) It's frustrating being a genius and living the life of a moron!!! -- modified at 21:18 Wednesday 4th October, 2006

                          M Offline
                          M Offline
                          Marc Clifton
                          wrote on last edited by
                          #33

                          Hockey wrote:

                          But is it true? Am I rememering wrong?

                          "i" because it's automatically treated as an integer in Fortran--the first of several automatic integer variables, followed by "j", "k", "l", etc. I can't remember how many letters are allocated to be integers. Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            You do realise that as a mathematician it's my duty to insert lots of engineer jokes, right? ;) I'll let you off with a warning this time. cheers, Chris Maunder

                            CodeProject.com : C++ MVP

                            F Offline
                            F Offline
                            Francisco Viella
                            wrote on last edited by
                            #34

                            Don't worry, I know quite a number of mathematics jokes. I suggest we call it even and stop this thread right here to avoid possible casualties should we start the war. :-D Francisco

                            C 1 Reply Last reply
                            0
                            • F Francisco Viella

                              Don't worry, I know quite a number of mathematics jokes. I suggest we call it even and stop this thread right here to avoid possible casualties should we start the war. :-D Francisco

                              C Offline
                              C Offline
                              Chris Maunder
                              wrote on last edited by
                              #35

                              :-D cheers, Chris Maunder

                              CodeProject.com : C++ MVP

                              1 Reply Last reply
                              0
                              • A alex barylski

                                You know the ubiqious "i" found in almost every example of a for loop for newbies? On another forum were having this disscussion (sorta)... I said (I believe I read it in an C K&R book) that it's because it's simply an alias for Index which is what "i" is usually doing in a for loop...?? Someone else says it has to do with: They are from general Summation Notation that, like many other mathmatical notations, worked its way into early languages -- specifically Fortran (remember its FORMula TRANSlation) I never would have guessed :P Cheers :) It's frustrating being a genius and living the life of a moron!!! -- modified at 21:18 Wednesday 4th October, 2006

                                D Offline
                                D Offline
                                Dheeraj Gaba
                                wrote on last edited by
                                #36

                                Its because "i" stands for "Iteration/Iterator" :-O

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  i is reserved for sqrt(-1) cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

                                  R Offline
                                  R Offline
                                  Ravi Bhavnani
                                  wrote on last edited by
                                  #37

                                  Please. Let's try and be rational about this. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                                  N 1 Reply Last reply
                                  0
                                  • R Ravi Bhavnani

                                    Please. Let's try and be rational about this. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                                    N Offline
                                    N Offline
                                    Nish Nishant
                                    wrote on last edited by
                                    #38

                                    Ravi Bhavnani wrote:

                                    Please. Let's try and be rational about this.

                                    :laugh: Regards, Nish


                                    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                    The Ultimate Grid - The #1 MFC grid out there!

                                    1 Reply Last reply
                                    0
                                    • A alex barylski

                                      You know the ubiqious "i" found in almost every example of a for loop for newbies? On another forum were having this disscussion (sorta)... I said (I believe I read it in an C K&R book) that it's because it's simply an alias for Index which is what "i" is usually doing in a for loop...?? Someone else says it has to do with: They are from general Summation Notation that, like many other mathmatical notations, worked its way into early languages -- specifically Fortran (remember its FORMula TRANSlation) I never would have guessed :P Cheers :) It's frustrating being a genius and living the life of a moron!!! -- modified at 21:18 Wednesday 4th October, 2006

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #39

                                      'i' for integer, 'i' for iterator. The tigress is here :-D

                                      1 Reply Last reply
                                      0
                                      • R Ryan Binns

                                        David Stone wrote:

                                        Coming up with the pronunciation for those letters is a little difficult though.

                                        Give the spaghetti to someone who eats with their mouth open and listen to the interesting sounds that emerge :)

                                        Ryan

                                        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #40

                                        :laugh: Paul

                                        Where a pointless picture of song titles once resided only blank space now remains.

                                        1 Reply Last reply
                                        0
                                        • Steve EcholsS Steve Echols

                                          :laugh: No humps! Just double checked. Although...hunching over my monitor might give me a "single" in a couple more years. :)


                                          - S 50 cups of coffee and you know it's on!

                                          L Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #41

                                          Hmm... :suss: Then you could be a Dromedary[^] ;P Paul

                                          Where a pointless picture of song titles once resided only blank space now remains.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups