MCPcopy
hub / github.com/josdejong/mathjs / log

Method log

types/index.d.ts:5608–5608  ·  view source on GitHub ↗

* Calculate the logarithm of a value. For matrices, the function is * evaluated element wise. * @param base Optional base for the logarithm. If not provided, the * natural logarithm of x is calculated. Default value: e.

(
    this: MathJsChain<T>,
    base?: number | BigNumber | Complex
  )

Source from the content-addressed store, hash-verified

5606 * natural logarithm of x is calculated. Default value: e.
5607 */
5608 log<T extends number | BigNumber | Complex | MathCollection>(
5609 this: MathJsChain<T>,
5610 base?: number | BigNumber | Complex
5611 ): MathJsChain<NoLiteralType<T>>

Callers 15

validateAsciiFunction · 0.65
_importFromStreamFunction · 0.65
simplifyAndCompareFunction · 0.65
resolve.test.jsFile · 0.65
exp.test.jsFile · 0.65
expm1.test.jsFile · 0.65
log.test.jsFile · 0.65
security.test.jsFile · 0.65
Help.test.jsFile · 0.65
SymbolNode.test.jsFile · 0.65

Calls

no outgoing calls

Tested by 3

simplifyAndCompareFunction · 0.52
maybeCheckExpectationFunction · 0.52
checkExpectationFunction · 0.52