Skip to content

wrap Maxima's factorial/gamma conversions/expansions #17737

Open
@rwst

Description

@rwst

To be most clear to the user (and staying in sync with current ticket discussions) I rather propose four functions:

  • gamma_to_factorial - use simplify_full(?)
  • factorial_to_gamma - use makegamma with maxima.eval("gamma_expand:true")
  • expand_gamma - e.g., gamma(n+1) --> n*gamma(n), use makegamma with maxima.eval("gamma_expand:false"), also gamma_expand
  • simplify_gamma - e.g., n*gamma(n) --> gamma(n+1), use makegamma with maxima.eval("gamma_expand:true"). Could be an alias to 2) or left out.

This ticket will *not include one of these in another simplify* function.

CC: @kcrisman @sagetrac-ktkohl @sagetrac-tmonteil @EmmanuelCharpentier

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/17737

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions