logax

Calculates the logarithm base a of an argument x. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Real or complex value a, base of logarithm
  2. Real or complex value x, value, vector or matrix

Output

Real or complex value or vector

Examples

logax