Predefined Functions – log10
| Function name: | log10 – Logarithm (base 10) |
| Synopsis: | log10(x) |
| Input data type | Output data type |
|---|---|
| real | real |
| complex | complex |
| quaternion | unsupported |
Description:
ChaosPro automatically detects the input data type.
The logarithm of a complex number is not uniquely defined. Mathematically the logarithm of a complex number has an unlimited number of solutions. The solution calculated in ChaosPro is the main branch of the logarithm.
In order to calculate log10(x) (x = any real number) ChaosPro performs the following calculation:
log10(x) = ln(x)/ln(10)
In order to calculate log10(z) (z = any complex number) ChaosPro performs the following calculation:
log10(z) = 0.5*(log10(x^2+y^2))+i*arctan(y/x)
For the definition of ln(x) and arctan(x) see: