# Mathematics Odd/Even Functions

Show 80 post(s) from this thread on one page
Page 2 of 2 First 12
• 10-18-2004
Sang-drax
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
• 10-18-2004
Sang-drax
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
• 10-18-2004
Zach L.
Nifty... Makes sense. :)
Show 80 post(s) from this thread on one page
Page 2 of 2 First 12