Terse Schroeder & Abel function code
#2
The Pari/GP code for Bell polynomials is
Code:
  Bell(k,n=-1)=
  { my(x, v, dv, var = i->eval(Str("X",i)));
 
    v = vector(k, i, if (i==1, 'E, var(i-1)));
    dv = vector(k, i, if (i==1, 'X*var(1)*'E, var(i)));
    x = diffop('E,v,dv,k) / 'E;
    if (n < 0, subst(x,'X,1), polcoef(x,n,'X));
  }

So to Mathematica code at the beginning of this thread can be migrated to Pari/GP.
Daniel
Reply


Messages In This Thread
Terse Schroeder & Abel function code - by Daniel - 10/02/2022, 02:42 PM
RE: Terse Schroeder & Abel function code - by Daniel - 10/16/2022, 07:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Code to calculate tetration using my method Shanghai46 10 14,679 12/17/2024, 01:02 PM
Last Post: MorgothV8
  FractionalIteration now in Wolfram Function Repository Daniel 0 2,918 07/10/2023, 07:16 AM
Last Post: Daniel
  Quickest way to compute the Abel function on the Shell-Thron boundary JmsNxn 0 3,857 04/21/2022, 01:52 AM
Last Post: JmsNxn
  Revisting my accelerated slog solution using Abel matrix inversion jaydfox 22 69,878 05/16/2021, 11:51 AM
Last Post: Gottfried
  C++ code for tet, ate and hexp MorgothV8 0 7,873 07/10/2014, 04:24 PM
Last Post: MorgothV8
  "Kneser"/Riemann mapping method code for *complex* bases mike3 2 16,747 08/15/2011, 03:14 PM
Last Post: Gottfried
  An incremental method to compute (Abel) matrix inverses bo198214 3 20,480 07/20/2010, 12:13 PM
Last Post: Gottfried
  Single-exp series computation code mike3 0 7,267 04/20/2010, 08:59 PM
Last Post: mike3
  SAGE code for computing flow matrix for exp(z)-1 jaydfox 4 22,312 08/21/2009, 05:32 PM
Last Post: jaydfox
  Computing Abel function at a given center jaydfox 10 34,603 11/30/2007, 06:44 PM
Last Post: andydude



Users browsing this thread: 1 Guest(s)