Method on @sym: Em = euler (m)
Method on @sym: p = euler (m, x)

Return symbolic Euler numbers or Euler polynomials.

Examples:

euler (sym(0))
  ⇒ (sym) 1
euler (sym(32))
  ⇒ (sym) 177519391579539289436664789665

Polynomial example:

syms x
euler (2, x)
  ⇒ (sym)
       2
      x  - x

euler (10, x)
  ⇒ (sym)
       10      9       7        5        3
      x   - 5⋅x  + 30⋅x  - 126⋅x  + 255⋅x  - 155⋅x

See also: @double/euler, @sym/bernoulli.

Package: symbolic