Returns log to base 10 of argument. If the argument is real and 0 or negative an error will result. If the argument is complex it will return a complex result even if the imaginary part is 0 and the real part negative. An error will always occur if both real and imaginary parts are zero.
This is identical to log10 . We recommend always using log10. log() variably means ln or log10 depending on the program, language etc. and it is rarely clear exactly which is meant.
Number | Type | Compulsory | Default | Description |
1 | real/complex array | Yes | vector |
Return type: real/complex array
Returns log to base 10 of argument.
▲Function Summary▲ | ||
◄ Locate | log10 ▶ |