QFactorial
The q-factorial , where . Provided by @enumeratio/analytic.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
QFactorial✓QFactorial(n, q)the q-factorial .SageMath
enumeratio_q_factorial(n, q)Typed signatures
| Type | Package | Applies |
|---|---|---|
(real, complex) -> number | analytic | always |
Details
- Built as a product of q-integers , each a sum of powers of — exact boxed arithmetic throughout, so it reduces to a number for numeric (rational stays rational) and to a genuine polynomial in that
Expandcan open up for symbolic . - At , termwise (no division, so no limit to take), reducing exactly to .
- A non-integer is the q-Gamma function, , which
N()evaluates for real through the infinite products (for reflected by , and at ). A negative integer is a pole, and stays symbolic. - A symbolic, non-integer or negative is a held call (still canonical). At with a non-integer rational ,
Seriesexpands the same product quotient as a series in , with Wolfram's truncation; for the leading factor makes it start at a positive fractional power, and a lower stays unevaluated.
Plot
the complex plot cannot lower QFactorial
Examples
4 more kept as data, checked against the oraclesProperties #
About
| Examples | 17 |
|---|---|
| Checked against | Wolfram Language 17 agreeSageMath 9 agree2 unevaluated5 errorSymPy 2 agree1 error |
| Crosswalk | Wolfram LanguageSageMath |
Implementation
primitive · kernela kernel — an algorithm over mutable state that would not be readable as a tree
nativeengine
typescriptpackages/symbols/analysis/analytic/src/q-series.tsproduct of q-integers, built at canonicalization time (not evaluate) so Expand sees the tree to open up.
mappedexternal
wolframpackages/oracle/src/mappings.tsQFactorial[n, q].
mapped
sagepackages/oracle/src/mappings.ts See also: QPochhammer, QBinomial, Factorial