Mathematics Odd/Even Functions

This is a discussion on Mathematics Odd/Even Functions within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Originally Posted by xviddivxoggmp3 is this valid? I have very little experience with complex numbers in C++. Isn't there a ...

  1. #16
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by xviddivxoggmp3
    is this valid?
    I have very little experience with complex numbers in C++.
    Isn't there a complex number class or variable object?
    Is exp() a function that accepts complex numbers?
    Nothing to do with C++

    exp(x) = e^x = 2.71828...^x

    And yes, that step is valid, but the next step is illegal, the correct step would be something like:
    -pi = pi + 2*n*pi
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  2. #17
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by Zach L.
    Right... What I was getting at is that the complex plane can be viewed as a field in its own right, or a vector space over R. I'm not sure if log is suitably defined over the field, and I am rather sure that it is not defined over C as a vector space.
    It depends on how you define logarithm. I could define ln for a complex number z to be:
    ln z = ln|z| + i*arg(z) , (0<=arg(z)<=2*pi)
    Then e^ln(z) = z for all complex numbers z
    I guess that could be one definition.

    EDIT:
    http://www.efg2.com/Lab/Mathematics/...sAndPowers.htm
    Last edited by Sang-drax; 10-18-2004 at 06:05 PM.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  3. #18
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Nifty... Makes sense.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Void Functions Help
    By bethanne41 in forum C++ Programming
    Replies: 1
    Last Post: 05-09-2005, 06:30 PM
  2. Functions and Classes - What did I do wrong?
    By redmage in forum C++ Programming
    Replies: 5
    Last Post: 04-11-2005, 12:50 PM
  3. calling functions within functions
    By edd1986 in forum C Programming
    Replies: 3
    Last Post: 03-29-2005, 03:35 AM
  4. Factory Functions HOWTO
    By GuardianDevil in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 02:41 PM
  5. Shell functions on Win XP
    By geek@02 in forum Windows Programming
    Replies: 6
    Last Post: 04-19-2004, 06:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21