taylor

Calculates the Taylor series expansion of function up to the inputted degree. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Function
  2. Symbol
  3. Expansion point, double or symbol
  4. Order of polynomial, non-negative integer

Output

Taylor polinomial

Examples

taylor