log#

swordfish.function.log()#

If Y is not specified: return the natural logarithm of X.

If Y is specified: return the logarithm of X to base Y.

Parameters:
  • X (Constant) – A scalar/vector/pair/matrix/table.

  • Y (Constant, optional) – A positive number indicating the base.